From 88f27cb1914545b94b316461c6f113802f8219f9 Mon Sep 17 00:00:00 2001 From: Relentless Date: Fri, 2 Sep 2022 22:47:58 +0200 Subject: [PATCH] improve stone strata detection --- .../java/com/almostreliable/unified/utils/ReplacementMap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/src/main/java/com/almostreliable/unified/utils/ReplacementMap.java b/Common/src/main/java/com/almostreliable/unified/utils/ReplacementMap.java index 9cacdb3..f998a90 100644 --- a/Common/src/main/java/com/almostreliable/unified/utils/ReplacementMap.java +++ b/Common/src/main/java/com/almostreliable/unified/utils/ReplacementMap.java @@ -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; } }