Properties map should never be null

This commit is contained in:
TheMode 2021-06-18 11:46:09 +02:00
parent e3fdadb564
commit 2dc4673b4f

View File

@ -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,