Skip to content

Commit

Permalink
Fix BlockProperties being stacked the wrong way around
Browse files Browse the repository at this point in the history
  • Loading branch information
TBlueF authored Nov 14, 2023
1 parent 24a6b2f commit 665af55
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public void load(Path configFile) throws IOException {
BlockStateMapping<BlockProperties> mapping = new BlockStateMapping<>(bsKey, bsValueBuilder.build());

// don't overwrite already present values, higher priority resources are loaded first
mappings.computeIfAbsent(bsKey.getFormatted(), k -> new LinkedList<>()).add(0, mapping);
mappings.computeIfAbsent(bsKey.getFormatted(), k -> new LinkedList<>()).add(mapping);
}
json.endObject();
}
Expand Down

0 comments on commit 665af55

Please sign in to comment.