Fix net code
This commit is contained in:
parent
21920e1556
commit
f5c601b570
1 changed files with 0 additions and 2 deletions
|
@ -42,8 +42,6 @@ public class PacketUpdate extends BuildCraftPacket {
|
||||||
data.writeInt(posY);
|
data.writeInt(posY);
|
||||||
data.writeInt(posZ);
|
data.writeInt(posZ);
|
||||||
|
|
||||||
data.writeByte(payload != null ? payload.getType().ordinal() : 0);
|
|
||||||
|
|
||||||
if (payload != null) {
|
if (payload != null) {
|
||||||
data.writeByte(payload.getType().ordinal());
|
data.writeByte(payload.getType().ordinal());
|
||||||
payload.writeData(data);
|
payload.writeData(data);
|
||||||
|
|
Loading…
Reference in a new issue