diff --git a/src/main/java/com/github/tartaricacid/touhoulittlemaid/client/animation/gecko/condition/ConditionArmor.java b/src/main/java/com/github/tartaricacid/touhoulittlemaid/client/animation/gecko/condition/ConditionArmor.java index 89ae29fd3..5a1837f2a 100644 --- a/src/main/java/com/github/tartaricacid/touhoulittlemaid/client/animation/gecko/condition/ConditionArmor.java +++ b/src/main/java/com/github/tartaricacid/touhoulittlemaid/client/animation/gecko/condition/ConditionArmor.java @@ -38,7 +38,7 @@ public void addTest(String name) { if (!isValidResourceLocation(id)) { return; } - ResourceLocation res = ResourceLocation.withDefaultNamespace(id); + ResourceLocation res = ResourceLocation.parse(id); if (idTest.containsKey(type)) { idTest.get(type).add(res); } else { @@ -59,7 +59,7 @@ public void addTest(String name) { } TagKey tagKey = TagKey.create( Registries.ITEM, - ResourceLocation.withDefaultNamespace(id) + ResourceLocation.parse(id) ); if (tagTest.containsKey(type)) { tagTest.get(type).add(tagKey);