From 97f6c8e17ccb14d0a76f20547d39a784428a01d6 Mon Sep 17 00:00:00 2001 From: KnightMiner Date: Wed, 18 Jan 2023 23:33:53 -0500 Subject: [PATCH] stupid autocomplete, you should not switch the variable during autocomplete --- .../mantle/client/model/util/ColoredBlockModel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/slimeknights/mantle/client/model/util/ColoredBlockModel.java b/src/main/java/slimeknights/mantle/client/model/util/ColoredBlockModel.java index 74089781..0a11c1e4 100644 --- a/src/main/java/slimeknights/mantle/client/model/util/ColoredBlockModel.java +++ b/src/main/java/slimeknights/mantle/client/model/util/ColoredBlockModel.java @@ -134,7 +134,7 @@ public static BakedModel bakeModel(IModelConfiguration owner, List SimpleBakedModel.Builder builder = new SimpleBakedModel.Builder(owner, overrides).particle(particle); int size = elements.size(); Transformation transformation = transform.getRotation(); - boolean uvlock = transformation.isIdentity(); + boolean uvlock = transform.isUvLocked(); for (int i = 0; i < size; i++) { BlockElement part = elements.get(i); ColorData colors = LogicHelper.getOrDefault(colorData, i, ColorData.DEFAULT);