Fix BlockProperties being stacked the wrong way around

This commit is contained in:
Lukas Rieger 2023-11-14 21:42:46 +01:00 committed by GitHub
parent 24a6b2f370
commit 665af5583f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ public class BlockPropertiesConfig {
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();
}