From 3c3caf3b50d61c64692b1620e8efb0f5ff52032f Mon Sep 17 00:00:00 2001 From: IMS212 Date: Tue, 27 Aug 2024 13:33:02 -0700 Subject: [PATCH] Fix block ID mapping --- .../iris/shaderpack/materialmap/BlockMaterialMapping.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/net/irisshaders/iris/shaderpack/materialmap/BlockMaterialMapping.java b/common/src/main/java/net/irisshaders/iris/shaderpack/materialmap/BlockMaterialMapping.java index 8f5f2c4e7b..88f78d9074 100644 --- a/common/src/main/java/net/irisshaders/iris/shaderpack/materialmap/BlockMaterialMapping.java +++ b/common/src/main/java/net/irisshaders/iris/shaderpack/materialmap/BlockMaterialMapping.java @@ -23,7 +23,7 @@ public class BlockMaterialMapping { public static Object2IntMap createBlockStateIdMap(Int2ObjectLinkedOpenHashMap> blockPropertiesMap, Int2ObjectLinkedOpenHashMap> tagPropertiesMap) { Object2IntMap blockStateIds = new Object2IntLinkedOpenHashMap<>(); - + blockStateIds.defaultReturnValue(-1); blockPropertiesMap.forEach((intId, entries) -> { for (BlockEntry entry : entries) { addBlockStates(entry, blockStateIds, intId);