diff options
author | Erik Broes <erikbroes@ripe.net> | 2011-01-11 09:25:13 +0100 |
---|---|---|
committer | Erik Broes <erikbroes@ripe.net> | 2011-01-11 09:27:35 +0100 |
commit | 22dab8e9855b1d2aabb1ba10b16ebd5ae5943da4 (patch) | |
tree | 879d89e9f5d260f70a8199c42c1b0320b423fe17 /src/main/java/net/minecraft/server/TileEntityChest.java | |
parent | 75654e8db5b97497f6285266a1116a536d80720c (diff) | |
download | craftbukkit-22dab8e9855b1d2aabb1ba10b16ebd5ae5943da4.tar craftbukkit-22dab8e9855b1d2aabb1ba10b16ebd5ae5943da4.tar.gz craftbukkit-22dab8e9855b1d2aabb1ba10b16ebd5ae5943da4.tar.lz craftbukkit-22dab8e9855b1d2aabb1ba10b16ebd5ae5943da4.tar.xz craftbukkit-22dab8e9855b1d2aabb1ba10b16ebd5ae5943da4.zip |
Updated against new mc-dev format, takes out quite some casting troubles at the cost of extra ()'s
Diffstat (limited to 'src/main/java/net/minecraft/server/TileEntityChest.java')
-rw-r--r-- | src/main/java/net/minecraft/server/TileEntityChest.java | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/main/java/net/minecraft/server/TileEntityChest.java b/src/main/java/net/minecraft/server/TileEntityChest.java index cc5e7f81..a1285c1a 100644 --- a/src/main/java/net/minecraft/server/TileEntityChest.java +++ b/src/main/java/net/minecraft/server/TileEntityChest.java @@ -1,8 +1,6 @@ package net.minecraft.server;
-
-public class TileEntityChest extends TileEntity
- implements IInventory {
+public class TileEntityChest extends TileEntity implements IInventory {
private ItemStack e[];
@@ -70,7 +68,6 @@ public class TileEntityChest extends TileEntity e[j] = new ItemStack(nbttagcompound1);
}
}
-
}
public void b(NBTTagCompound nbttagcompound) {
@@ -83,11 +80,11 @@ public class TileEntityChest extends TileEntity nbttagcompound1.a("Slot", (byte) i);
e[i].a(nbttagcompound1);
- nbttaglist.a(nbttagcompound1);
+ nbttaglist.a(((NBTBase) (nbttagcompound1)));
}
}
- nbttagcompound.a("Items", nbttaglist);
+ nbttagcompound.a("Items", ((NBTBase) (nbttaglist)));
}
public int c() {
|