Ignore DisguiseType.UNKNOWN, handles #373

This commit is contained in:
libraryaddict
2019-12-06 11:37:33 +13:00
parent 9ecf1cc62c
commit c5cad96118
4 changed files with 11 additions and 4 deletions

View File

@@ -59,6 +59,10 @@ public class PacketHandlerSpawn implements IPacketHandler {
packets.clear();
if (disguise.getType() == DisguiseType.UNKNOWN) {
return;
}
constructSpawnPackets(observer, packets, entity);
}