Replaced all use of PacketIds with PacketType in packet handlers, fixing protocollib support

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>