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/TileEntityFurnace.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/TileEntityFurnace.java')
-rw-r--r-- | src/main/java/net/minecraft/server/TileEntityFurnace.java | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/main/java/net/minecraft/server/TileEntityFurnace.java b/src/main/java/net/minecraft/server/TileEntityFurnace.java index ff266f7c..164a03da 100644 --- a/src/main/java/net/minecraft/server/TileEntityFurnace.java +++ b/src/main/java/net/minecraft/server/TileEntityFurnace.java @@ -1,8 +1,6 @@ package net.minecraft.server;
-
-public class TileEntityFurnace extends TileEntity
- implements IInventory {
+public class TileEntityFurnace extends TileEntity implements IInventory {
private ItemStack h[];
public int e;
@@ -13,7 +11,7 @@ public class TileEntityFurnace extends TileEntity public ItemStack[] getContents() {
return h;
}
- // CraftBukkit end
+ // CraftBukkit end
public TileEntityFurnace() {
h = new ItemStack[3];
@@ -74,8 +72,8 @@ public class TileEntityFurnace extends TileEntity }
}
- e = nbttagcompound.c("BurnTime");
- g = nbttagcompound.c("CookTime");
+ e = ((int) (nbttagcompound.c("BurnTime")));
+ g = ((int) (nbttagcompound.c("CookTime")));
f = a(h[1]);
}
@@ -91,11 +89,11 @@ public class TileEntityFurnace extends TileEntity nbttagcompound1.a("Slot", (byte) j);
h[j].a(nbttagcompound1);
- nbttaglist.a(nbttagcompound1);
+ nbttaglist.a(((NBTBase) (nbttagcompound1)));
}
}
- nbttagcompound.a("Items", nbttaglist);
+ nbttagcompound.a("Items", ((NBTBase) (nbttaglist)));
}
public int c() {
|