From 8fd1e285d81d059828553afd5aea16cf520fd8f8 Mon Sep 17 00:00:00 2001 From: KnightMiner Date: Wed, 25 Aug 2021 15:34:16 -0400 Subject: [PATCH] Fix wrong loader being registered for colored model --- src/main/java/slimeknights/mantle/client/ClientEvents.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/slimeknights/mantle/client/ClientEvents.java b/src/main/java/slimeknights/mantle/client/ClientEvents.java index 1a24f484..551b18c6 100644 --- a/src/main/java/slimeknights/mantle/client/ClientEvents.java +++ b/src/main/java/slimeknights/mantle/client/ClientEvents.java @@ -34,6 +34,7 @@ import slimeknights.mantle.client.model.fluid.FluidTextureModel; import slimeknights.mantle.client.model.fluid.FluidsModel; import slimeknights.mantle.client.model.inventory.InventoryModel; +import slimeknights.mantle.client.model.util.ColoredBlockModel; import slimeknights.mantle.client.model.util.MantleItemLayerModel; import slimeknights.mantle.client.model.util.ModelHelper; import slimeknights.mantle.data.MantleTags; @@ -58,7 +59,7 @@ static void registerModelLoaders(ModelRegistryEvent event) { // standard models - useful in resource packs for any model ModelLoaderRegistry.registerLoader(Mantle.getResource("connected"), ConnectedModel.Loader.INSTANCE); ModelLoaderRegistry.registerLoader(Mantle.getResource("item_layer"), MantleItemLayerModel.LOADER); - ModelLoaderRegistry.registerLoader(Mantle.getResource("colored_block"), MantleItemLayerModel.LOADER); + ModelLoaderRegistry.registerLoader(Mantle.getResource("colored_block"), ColoredBlockModel.LOADER); ModelLoaderRegistry.registerLoader(Mantle.getResource("fallback"), FallbackModelLoader.INSTANCE); // NBT dynamic models - require specific data defined in the block/item to use