2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-11-22 20:28:00 +00:00

make velocity ping event execute as Last to prevent motd plugins changing online players

This commit is contained in:
mohammed jasem alaajel 2023-04-10 01:48:20 +04:00
parent 5b5f748cc9
commit 9050264b4d
No known key found for this signature in database

View File

@ -130,7 +130,7 @@ public class RedisBungeeVelocityListener extends AbstractRedisBungeeListener<Log
}
@Override
@Subscribe(order = PostOrder.EARLY)
@Subscribe(order = PostOrder.LAST) // some plugins changes it online players so we need to be executed as last
public void onPing(ProxyPingEvent event) {
if (exemptAddresses.contains(event.getConnection().getRemoteAddress().getAddress())) {
return;