mirror of
				https://github.com/proxiodev/RedisBungee.git
				synced 2025-11-04 01:28:02 +00:00 
			
		
		
		
	make velocity ping event execute as Last to prevent motd plugins changing online players
This commit is contained in:
		
							parent
							
								
									5b5f748cc9
								
							
						
					
					
						commit
						9050264b4d
					
				@ -130,7 +130,7 @@ public class RedisBungeeVelocityListener extends AbstractRedisBungeeListener<Log
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @Override
 | 
					    @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) {
 | 
					    public void onPing(ProxyPingEvent event) {
 | 
				
			||||||
        if (exemptAddresses.contains(event.getConnection().getRemoteAddress().getAddress())) {
 | 
					        if (exemptAddresses.contains(event.getConnection().getRemoteAddress().getAddress())) {
 | 
				
			||||||
            return;
 | 
					            return;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user