Fix BlockProperties being stacked the wrong way around
This commit is contained in:
parent
24a6b2f370
commit
665af5583f
|
@ -75,7 +75,7 @@ public class BlockPropertiesConfig {
|
||||||
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