ProtocolLib

3M Downloads

4.6.0 PacketType.Play.Server.ANIMATION not being called in packet listener

MitchGB opened this issue ยท 0 comments

commented

Testing in 1.16.5 spigot server-

PacketType.Play.Server.ANIMATION never gets called at all during runtime.
I have tested this exact code with other packet types, and it works 100% fine however only ANIMATION does not work.

ProtocolLibrary.getProtocolManager().addPacketListener(new PacketAdapter(plugin, ListenerPriority.HIGHEST, PacketType.Play.Server.ANIMATION) {

			@Override
			public void onPacketSending(PacketEvent event) {
				System.out.println("t");
				

			}
			@Override
			public void onPacketReceiving(PacketEvent event) {
				System.out.println("r");

			}
		});```