Update to 1.9.4 - untested waiting on baubles

This commit is contained in:
Vincent Lee committed 2016-05-18 15:22:35 -05:00
1 parent a59ee11da4
commit 056f46b1f8
306 files changed
+1105 -1102

No files matched your search

@@ -28,10 +28,10 @@ public class TileMod extends TileEntity implements ITickable {
}
@Override
public void writeToNBT(NBTTagCompound par1nbtTagCompound) {
super.writeToNBT(par1nbtTagCompound);
writeCustomNBT(par1nbtTagCompound);
public NBTTagCompound writeToNBT(NBTTagCompound par1nbtTagCompound) {
NBTTagCompound ret = super.writeToNBT(par1nbtTagCompound);
writeCustomNBT(ret);
return ret;
}
@Override
@@ -50,7 +50,7 @@ public class TileMod extends TileEntity implements ITickable {
}
@Override
public Packet getDescriptionPacket() {
public SPacketUpdateTileEntity getUpdatePacket() {
NBTTagCompound nbttagcompound = new NBTTagCompound();
writeCustomNBT(nbttagcompound);
return new SPacketUpdateTileEntity(pos, -999, nbttagcompound);