Fixed invisible players for joining players by sending custom packets
This commit is contained in:
@@ -19,12 +19,9 @@ public class ByPlayerNameUuidProvider implements UuidProvider {
|
||||
return UuidUtil.unTrimm(client);
|
||||
|
||||
} catch (NullPointerException e) {
|
||||
|
||||
Logger.getGlobal().info("Player " + username + " is an known by Mojang! (Using random UUID)");
|
||||
|
||||
Logger.getGlobal().info("Player " + username + " is unknown by Mojang! (Using random UUID)");
|
||||
} catch (IllegalStateException e) {
|
||||
|
||||
Logger.getGlobal().info("Player with the username " + username + " is already online. (Using random UUID)");
|
||||
Logger.getGlobal().info("Player with the username " + username + " is already online.");
|
||||
playerConnection.disconnect();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user