Fixed a server crash in PacketHandler.getPlayer()