Fixed some network crashes and block config problems

This commit is contained in:
Anuken
2018-01-10 17:22:19 -05:00
parent f09394c0ea
commit 1820abe14f
12 changed files with 94 additions and 37 deletions
@@ -127,4 +127,9 @@ public class Packets {
public static class BlockTapPacket{
public int position;
}
public static class BlockConfigPacket{
public int position;
public byte data;
}
}
@@ -37,6 +37,7 @@ public class Registrator {
UpgradePacket.class,
WeaponSwitchPacket.class,
BlockTapPacket.class,
BlockConfigPacket.class,
Class.class,
byte[].class,