From 7029fffaa28db2f09ebd688e77f8d3815cda95af Mon Sep 17 00:00:00 2001 From: phantamanta44 Date: Wed, 28 Apr 2021 20:19:14 -0500 Subject: [PATCH] Make mappings fields final in MetaBlockIdRemapCache.MappingCollection --- .../datafix/fixes/metablockid/MetaBlockIdRemapCache.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/gregtech/common/datafix/fixes/metablockid/MetaBlockIdRemapCache.java b/src/main/java/gregtech/common/datafix/fixes/metablockid/MetaBlockIdRemapCache.java index aeb9e78da5..175d675736 100644 --- a/src/main/java/gregtech/common/datafix/fixes/metablockid/MetaBlockIdRemapCache.java +++ b/src/main/java/gregtech/common/datafix/fixes/metablockid/MetaBlockIdRemapCache.java @@ -143,8 +143,8 @@ public Spec(String newNamePrefix, ToIntFunction indexParser, boolean add private static class MappingCollection { - TIntIntMap idToIndex = new TIntIntHashMap(16, 0.8F, -1, -1); - TIntIntMap indexToId = new TIntIntHashMap(16, 0.8F, -1, -1); + final TIntIntMap idToIndex = new TIntIntHashMap(16, 0.8F, -1, -1); + final TIntIntMap indexToId = new TIntIntHashMap(16, 0.8F, -1, -1); int maxIndex = -1; MetaBlockIdRemapCache bake(String newNamePrefix) {