@@ -17,9 +17,9 @@
|
||||
+ public CraftPersistentDataContainer persistentDataContainer;
|
||||
+ // CraftBukkit end
|
||||
private static final Logger LOGGER = LogManager.getLogger();
|
||||
private final TileEntityTypes<?> b;
|
||||
private final TileEntityTypes<?> tileType;
|
||||
@Nullable
|
||||
@@ -37,6 +46,14 @@
|
||||
@@ -38,6 +47,14 @@
|
||||
|
||||
public void load(NBTTagCompound nbttagcompound) {
|
||||
this.position = new BlockPosition(nbttagcompound.getInt("x"), nbttagcompound.getInt("y"), nbttagcompound.getInt("z"));
|
||||
@@ -34,7 +34,7 @@
|
||||
}
|
||||
|
||||
public NBTTagCompound save(NBTTagCompound nbttagcompound) {
|
||||
@@ -53,6 +70,11 @@
|
||||
@@ -54,6 +71,11 @@
|
||||
nbttagcompound.setInt("x", this.position.getX());
|
||||
nbttagcompound.setInt("y", this.position.getY());
|
||||
nbttagcompound.setInt("z", this.position.getZ());
|
||||
@@ -46,7 +46,7 @@
|
||||
return nbttagcompound;
|
||||
}
|
||||
}
|
||||
@@ -168,4 +190,13 @@
|
||||
@@ -169,4 +191,13 @@
|
||||
}, this::getPosition});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user