Replaced deprecated ProtocolLib methods with new PacketType versions (needs further testing)

Signed-off-by: bergerkiller <bergerkiller@gmail.com>