Fix net code

This commit is contained in:
CovertJaguar 2013-07-17 13:43:44 -07:00
parent 21920e1556
commit f5c601b570

View file

@ -42,8 +42,6 @@ public class PacketUpdate extends BuildCraftPacket {
data.writeInt(posY);
data.writeInt(posZ);
data.writeByte(payload != null ? payload.getType().ordinal() : 0);
if (payload != null) {
data.writeByte(payload.getType().ordinal());
payload.writeData(data);