-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
Describe the bug
I have a velocity plugin that makes use of PlayerLook, PlayerPositionLook and HeldItemChange, there aren't any errors that show up in the logs, i just don't recieve events to those listeners for users who are using 1.21.5 or newer.
To Reproduce
Steps to reproduce the behavior:
- create a listeners
private void registerListeners() {
Protocolize.listenerProvider().registerListener(new AbstractPacketListener<>(PlayerLook.class, dev.simplix.protocolize.api.Direction.UPSTREAM, 0) {
@Override
public void packetReceive(PacketReceiveEvent<PlayerLook> event) {
updateActivity(event.player().uniqueId());
}
@Override
public void packetSend(dev.simplix.protocolize.api.listener.PacketSendEvent<PlayerLook> event) {}
});
Protocolize.listenerProvider().registerListener(new AbstractPacketListener<>(PlayerPositionLook.class, dev.simplix.protocolize.api.Direction.UPSTREAM, 0) {
@Override
public void packetReceive(PacketReceiveEvent<PlayerPositionLook> event) {
updateActivity(event.player().uniqueId());
}
@Override
public void packetSend(dev.simplix.protocolize.api.listener.PacketSendEvent<PlayerPositionLook> event) {}
});
Protocolize.listenerProvider().registerListener(new AbstractPacketListener<>(HeldItemChange.class, dev.simplix.protocolize.api.Direction.UPSTREAM, 0) {
@Override
public void packetReceive(PacketReceiveEvent<HeldItemChange> event) {
updateActivity(event.player().uniqueId());
}
@Override
public void packetSend(dev.simplix.protocolize.api.listener.PacketSendEvent<HeldItemChange> event) {}
});
}- connect to a velocity server using a client using 1.21.4 or older, notice the events work, connect with a client using 1.21.5 or newer, and notice there are no events.
Expected behavior
I would expect 1.21.5 or newer clients to return the same events as the older clients
Screenshots
n/a
Proxy environment
Velocity, minimal plugins, mostly custom stuff
Minecraft versions used
1.21.1 and 1.21.10
Metadata
Metadata
Assignees
Labels
No labels