fix crash when connected textures are disabled, but custom colors are enabled. (#855)

This commit is contained in:
Calvin Reveraster authored and GitHub committed 2025-01-29 08:19:50 -08:00
1 parent 7e2399714c
commit 0023fe3da2
1 file changed
+1 -1
@@ -525,7 +525,7 @@ public enum Mixins {
&& !MCPatcherForgeConfig.ConnectedTextures.enabled
&& MCPatcherForgeConfig.CustomColors.enabled)
.addTargetedMod(TargetedMod.VANILLA)
.addMixinClasses("mcpatcherforge.cc_ctm.MixinRenderBlocksNoCTM")
.addMixinClasses("mcpatcherforge.ctm_cc.MixinRenderBlocksNoCTM")
),
MCPATCHER_FORGE_CTM_NO_CC(new Builder("MCP:F Connected Textures, no Custom Colours")
.setSide(Side.CLIENT).setPhase(Phase.EARLY)