improve stone strata detection

This commit is contained in:
Relentless 2022-09-02 22:47:58 +02:00
parent 497ccc70ea
commit 88f27cb191
No known key found for this signature in database
GPG key ID: 759D97B8C6F25265

View file

@ -33,7 +33,7 @@ public class ReplacementMap {
*/
private String getStoneStrata(ResourceLocation item) {
for (String stone : unifyConfig.getStoneStrata()) {
if (item.getPath().startsWith(stone + "_")) {
if (item.getPath().contains(stone + "_")) {
return stone;
}
}