mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-09-27 14:52:57 +02:00
Fix BlockProperties being stacked the wrong way around
This commit is contained in:
parent
24a6b2f370
commit
665af5583f
@ -75,7 +75,7 @@ public void load(Path configFile) throws IOException {
|
|||||||
BlockStateMapping<BlockProperties> mapping = new BlockStateMapping<>(bsKey, bsValueBuilder.build());
|
BlockStateMapping<BlockProperties> mapping = new BlockStateMapping<>(bsKey, bsValueBuilder.build());
|
||||||
|
|
||||||
// don't overwrite already present values, higher priority resources are loaded first
|
// 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();
|
json.endObject();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user