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
1 changed files with 1 additions and 1 deletions

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;