mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-08 16:32:07 +01:00
Properties map should never be null
This commit is contained in:
parent
e3fdadb564
commit
2dc4673b4f
@ -30,8 +30,7 @@ class BlockTest implements Block {
|
||||
this.compound = compound;
|
||||
this.handler = handler;
|
||||
|
||||
this.unmodifiableProperties = properties != null ?
|
||||
Collections.unmodifiableMap(properties) : null;
|
||||
this.unmodifiableProperties = Collections.unmodifiableMap(properties);
|
||||
}
|
||||
|
||||
BlockTest(Registry.BlockEntry registry,
|
||||
|
Loading…
Reference in New Issue
Block a user