mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2025-01-22 23:41:27 +01:00
Ignore null users
This commit is contained in:
parent
21811991f1
commit
bee260e2b4
@ -76,6 +76,7 @@ public class BungeeServerHandler implements Listener {
|
||||
}
|
||||
|
||||
public void checkServerChange(ServerConnectedEvent e, UserConnection user) throws Exception {
|
||||
if(user == null) return;
|
||||
if (user.has(BungeeStorage.class)) {
|
||||
BungeeStorage storage = user.get(BungeeStorage.class);
|
||||
ProxiedPlayer player = storage.getPlayer();
|
||||
|
Loading…
Reference in New Issue
Block a user