mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-05 18:32:28 +01:00
Remove unnecessary changes
Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
parent
b3f1bfdf59
commit
7f8c90ba2d
@ -174,13 +174,11 @@ public final class Registry {
|
|||||||
this.air = getBoolean("air", false);
|
this.air = getBoolean("air", false);
|
||||||
this.solid = getBoolean("solid");
|
this.solid = getBoolean("solid");
|
||||||
this.liquid = getBoolean("liquid", false);
|
this.liquid = getBoolean("liquid", false);
|
||||||
|
|
||||||
// Block entity
|
|
||||||
{
|
{
|
||||||
final Map<String, Object> blockEntityProperties = element("blockEntity");
|
Map<String, Object> blockEntity = element("blockEntity");
|
||||||
if (blockEntityProperties != null) {
|
if (blockEntity != null) {
|
||||||
this.blockEntity = (String) blockEntityProperties.get("namespace");
|
this.blockEntity = (String) blockEntity.get("namespace");
|
||||||
this.blockEntityId = ((Number) blockEntityProperties.get("id")).intValue();
|
this.blockEntityId = ((Number) blockEntity.get("id")).intValue();
|
||||||
} else {
|
} else {
|
||||||
this.blockEntity = null;
|
this.blockEntity = null;
|
||||||
this.blockEntityId = 0;
|
this.blockEntityId = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user