mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 17:01:56 +01:00
Fix the player's uuid being null in Bungee mode/offline mode
This commit is contained in:
parent
c0638b6ffb
commit
a93c6f2875
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
- this.g = LoginListener.EnumProtocolState.READY_TO_ACCEPT;
|
||||
+ // Spigot start
|
||||
+ try {
|
||||
+ initUUID();
|
||||
+ new LoginHandler().fireEvents();
|
||||
+ } catch (Exception ex) {
|
||||
+ disconnect("Failed to verify username!");
|
||||
|
|
Loading…
Reference in a new issue