From 915ca58c253ef1bda86b1dea2da890558ad1c728 Mon Sep 17 00:00:00 2001 From: trinsdar <30245301+Trinsdar@users.noreply.github.com> Date: Wed, 30 Aug 2023 01:29:52 -0400 Subject: [PATCH] fixed render crash I think --- .../main/java/muramasa/antimatter/client/tesr/MachineTESR.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/muramasa/antimatter/client/tesr/MachineTESR.java b/common/src/main/java/muramasa/antimatter/client/tesr/MachineTESR.java index 0d3460569..e9b455b44 100644 --- a/common/src/main/java/muramasa/antimatter/client/tesr/MachineTESR.java +++ b/common/src/main/java/muramasa/antimatter/client/tesr/MachineTESR.java @@ -89,7 +89,7 @@ public static List buildLiquids(TileEntityMachine tile) { if (bakedModel instanceof MachineBakedModel model) { for (Direction dir : Ref.DIRS) { - BakedModel ibm = model.getModel(tile.getBlockState(), dir, tile.getMachineState()); + BakedModel ibm = model.getModel(tile.getBlockState(), dir, tile.getMachineState().getTextureState()); if (!(ibm instanceof BakedMachineSide toRender)) continue; for (Map.Entry customPart : toRender.customParts()) { String[] parts = customPart.getKey().split(":");