From f5c601b5708cbd34c9a0b635e60552bb388778ac Mon Sep 17 00:00:00 2001 From: CovertJaguar Date: Wed, 17 Jul 2013 13:43:44 -0700 Subject: [PATCH] Fix net code --- common/buildcraft/core/network/PacketUpdate.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/buildcraft/core/network/PacketUpdate.java b/common/buildcraft/core/network/PacketUpdate.java index 8f2585e8..afd82b80 100644 --- a/common/buildcraft/core/network/PacketUpdate.java +++ b/common/buildcraft/core/network/PacketUpdate.java @@ -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);