Skip to content

Commit

Permalink
Make mappings fields final in MetaBlockIdRemapCache.MappingCollection
Browse files Browse the repository at this point in the history
  • Loading branch information
phantamanta44 committed Apr 29, 2021
1 parent dc2d176 commit 7029fff
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ public Spec(String newNamePrefix, ToIntFunction<String> 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) {
Expand Down

0 comments on commit 7029fff

Please sign in to comment.