mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-07 19:31:37 +01:00
Fix override registry
This commit is contained in:
parent
d1b654e843
commit
9bca6ee0e3
@ -72,7 +72,7 @@ record BlockImpl(@NotNull Registry.BlockEntry registry,
|
||||
propertiesArray[keyIndex] = valueIndex;
|
||||
}
|
||||
|
||||
var mainProperties = Registry.Properties.fromMap(new MergedMap<>(properties.asMap(), stateOverride));
|
||||
var mainProperties = Registry.Properties.fromMap(new MergedMap<>(stateOverride, properties.asMap()));
|
||||
final BlockImpl block = new BlockImpl(Registry.block(namespace, mainProperties),
|
||||
propertiesArray, null, null);
|
||||
BLOCK_STATE_MAP.set(block.stateId(), block);
|
||||
|
Loading…
Reference in New Issue
Block a user