lots o fixes

This commit is contained in:
Progwml6 committed 2014-01-18 02:52:49 -05:00
1 parent d914004bde
commit af3f99a746
66 files changed
+241 -229

No files matched your search

@@ -149,16 +149,16 @@ public class AdaptiveDrainLogic extends MultiServantLogic implements IFluidHandl
}
}
public void readFromNBT (NBTTagCompound tags)
public void func_145839_a (NBTTagCompound tags)
{
super.readFromNBT(tags);
super.func_145839_a(tags);
direction = tags.getByte("Direction");
}
@Override
public void func_145839_a (NBTTagCompound tags)
public void func_145841_b (NBTTagCompound tags)
{
super.func_145839_a(tags);
super.func_145841_b(tags);
tags.setByte("Direction", direction);
}
@@ -167,14 +167,14 @@ public class AdaptiveDrainLogic extends MultiServantLogic implements IFluidHandl
public Packet getDescriptionPacket ()
{
NBTTagCompound tag = new NBTTagCompound();
func_145839_a(tag);
func_145841_b(tag);
return new Packet132TileEntityData(field_145851_c, field_145848_d, field_145849_e, 1, tag);
}
@Override
public void onDataPacket (NetworkManager net, Packet132TileEntityData packet)
{
readFromNBT(packet.data);
func_145839_a(packet.data);
field_145850_b.markBlockForRenderUpdate(field_145851_c, field_145848_d, field_145849_e);
}
}