ProtocolLib

3M Downloads

Strange protocollib error

F3F5 opened this issue ยท 2 comments

commented

Describe the bug
https://pastes.dev/Sb68ajiUQC

To Reproduce
i don't know really

Version Info
dump-2023-05-13_15.29.09.txt

commented

You cannot access the block asynchronously. Set the ListenerOptions.SYNC option for your packet listener to ensure that the listener is called on the main thread, e.g.:

new PacketAdapter(plugin, ListenerPriorit.NORMAL, Arrays.asList(PacketType.Play.Server.ENTITY_TELEPORT),
			ListenerOptions.SYNC);
commented

thanks!!