mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-10 17:52:02 -07:00
Updated against new mc-dev format, takes out quite some casting troubles at the cost of extra ()'s
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user