mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-29 18:27:36 +02:00
Make Bedrock check nullsafe
If the UUID was not set by FloodGate or any other plugin, it's null by in BungeeCord Fixes #548
This commit is contained in:
@ -217,9 +217,11 @@ public class ConnectListener implements Listener {
|
||||
// Floodgate will set a correct UUID at the beginning of the PreLoginEvent
|
||||
// and will cancel the online mode login for those players
|
||||
// Therefore we just ignore those
|
||||
if (floodgateHook == null) {
|
||||
if (floodgateHook == null || correctedUUID == null) {
|
||||
// Also ignore if not set by floodgate or any other plugin
|
||||
return false;
|
||||
}
|
||||
|
||||
return this.floodgateHook.isBedrockPlayer(correctedUUID);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user