Fix the player's uuid being null in Bungee mode/offline mode

This commit is contained in:
Thinkofdeath 2015-03-07 13:34:07 +00:00
parent c0638b6ffb
commit a93c6f2875

View file

@ -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!");