Paper-1.13.2-b405 - packet events not firing
arphox opened this issue ยท 0 comments
Hello!
I just started experimenting with ProtocolLib, but bumped into issues.
Server version used: Paper-1.13.2-b405
Plugin version: ProtocolLib 4.4.0-b421
I have a plugin like this:
@Override
public void onEnable() {
getLogger().info("onEnable has been invoked!");
ProtocolManager protocolManager = ProtocolLibrary.getProtocolManager();
protocolManager.addPacketListener(new PacketAdapter(this, ListenerPriority.NORMAL, PacketType.Play.Client.BLOCK_PLACE)
{
@Override
public void onPacketReceiving(PacketEvent event)
{
getLogger().info(event.getPacketType().name());
}
});
protocolManager.addPacketListener(new PacketAdapter(this, ListenerPriority.NORMAL, PacketType.Play.Client.BLOCK_DIG)
{
@Override
public void onPacketReceiving(PacketEvent event)
{
getLogger().info(event.getPacketType().name());
}
});
}
The problem is that the BLOCK_PLACE
event is firing very rarely. Most of the times it does not work, sometimes it does.
I have also tried TAB_COMPLETE
but that seems to be completely broken.
I experienced the same issue with the latest 1.13.1 paper or spigot version.
As I have read on the plugin's spigot page, version 1.13 is supported, but it seems buggy for me.
I have tried turning on some debug settings like debug: true
and detailed error: true
but there aren't any.
Which is the latest spigot/paper version in which the features are fully working?
I would like to develop plugins based on ProtocolLib, but this way it is impossible.