[SwitchMode] Kick the player only if the player is unknown to us
This commit is contained in:
1 parent
62ffb1a904
commit
87ca00d75d
5 files changed
+37
-32
No files matched your search
+2
@@ -66,6 +66,8 @@ public class PlayerConnectionListener implements Listener {
|
||||
plugin.getCore().getPendingLogins().remove(ip + username);
|
||||
|
||||
LoginSession session = plugin.getSession().get(connection);
|
||||
session.setUuid(connection.getUniqueId());
|
||||
|
||||
PlayerProfile playerProfile = session.getProfile();
|
||||
playerProfile.setUuid(connection.getUniqueId());
|
||||
|
||||
|
||||
Reference in new issue
Block a user