From 7826020114c5eee6dc6149b7b2c8a98ca3895159 Mon Sep 17 00:00:00 2001 From: KnightMiner Date: Wed, 16 Sep 2020 22:09:16 -0400 Subject: [PATCH] Switch to TagCollectionManager for fluid tag deserializing FluidTags is not filled that early --- src/main/java/slimeknights/mantle/recipe/FluidIngredient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/slimeknights/mantle/recipe/FluidIngredient.java b/src/main/java/slimeknights/mantle/recipe/FluidIngredient.java index 7fe3b43..465c141 100644 --- a/src/main/java/slimeknights/mantle/recipe/FluidIngredient.java +++ b/src/main/java/slimeknights/mantle/recipe/FluidIngredient.java @@ -344,7 +344,7 @@ public abstract class FluidIngredient { */ private static TagMatch deserialize(JsonObject json) { String tagName = JSONUtils.getString(json, "tag"); - ITag tag = FluidTags.getCollection().get(new ResourceLocation(tagName)); + ITag tag = TagCollectionManager.getManager().getFluidTags().get(new ResourceLocation(tagName)); if (tag == null) { throw new JsonSyntaxException("Unknown fluid tag '" + tagName + "'"); }