From 2eb9c7b6eb0e48d86a2a9355e50499fabc6d6fd4 Mon Sep 17 00:00:00 2001 From: Jozufozu Date: Fri, 9 Jul 2021 13:39:56 -0700 Subject: [PATCH] PartialModel gets called from the right place --- src/main/java/com/simibubi/create/CreateClient.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/com/simibubi/create/CreateClient.java b/src/main/java/com/simibubi/create/CreateClient.java index fbdd15ce8..275c67b7d 100644 --- a/src/main/java/com/simibubi/create/CreateClient.java +++ b/src/main/java/com/simibubi/create/CreateClient.java @@ -127,8 +127,6 @@ public class CreateClient { } public static void onModelRegistry(ModelRegistryEvent event) { - PartialModel.onModelRegistry(event); - getCustomRenderedItems().foreach((item, modelFunc) -> modelFunc.apply(null) .getModelLocations() .forEach(ModelLoader::addSpecialModel)); @@ -136,7 +134,6 @@ public class CreateClient { public static void onModelBake(ModelBakeEvent event) { Map modelRegistry = event.getModelRegistry(); - PartialModel.onModelBake(event); getCustomBlockModels() .foreach((block, modelFunc) -> swapModels(modelRegistry, getAllBlockStateModelLocations(block), modelFunc));