mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-12 18:31:41 +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.compound = compound;
|
||||||
this.handler = handler;
|
this.handler = handler;
|
||||||
|
|
||||||
this.unmodifiableProperties = properties != null ?
|
this.unmodifiableProperties = Collections.unmodifiableMap(properties);
|
||||||
Collections.unmodifiableMap(properties) : null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
BlockTest(Registry.BlockEntry registry,
|
BlockTest(Registry.BlockEntry registry,
|
||||||
|
Loading…
Reference in New Issue
Block a user