Skip to content

Commit

Permalink
Fix wrong loader being registered for colored model
Browse files Browse the repository at this point in the history
  • Loading branch information
KnightMiner committed Aug 25, 2021
1 parent 951ef2e commit 8fd1e28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/slimeknights/mantle/client/ClientEvents.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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
Expand Down

0 comments on commit 8fd1e28

Please sign in to comment.