From 99e8e9d6adc8aff2fec516da571abff4dd4596e5 Mon Sep 17 00:00:00 2001 From: Grondag Date: Sun, 23 Aug 2020 11:32:20 -0700 Subject: [PATCH] Don't disable JMX mesh models when CBT is loaded. Closes #71 --- src/main/java/grondag/canvas/CanvasJmxInit.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/java/grondag/canvas/CanvasJmxInit.java b/src/main/java/grondag/canvas/CanvasJmxInit.java index 2c946e11f..afa3d26e6 100644 --- a/src/main/java/grondag/canvas/CanvasJmxInit.java +++ b/src/main/java/grondag/canvas/CanvasJmxInit.java @@ -1,14 +1,10 @@ package grondag.canvas; -import net.fabricmc.loader.api.FabricLoader; - import grondag.jmx.api.JmxInitializer; public class CanvasJmxInit implements JmxInitializer { @Override public void onInitalizeJmx() { - grondag.jmx.Configurator.loadVanillaModels = (Configurator.forceJmxModelLoading || grondag.jmx.Configurator.loadVanillaModels) - // CBT refuses to transform non-vanilla models - && !FabricLoader.getInstance().isModLoaded("connected_block_textures"); + grondag.jmx.Configurator.loadVanillaModels = Configurator.forceJmxModelLoading || grondag.jmx.Configurator.loadVanillaModels; } }