Fixed invisible players for joining players by sending custom packets

This commit is contained in:
2023-11-26 18:19:03 +01:00
parent 440d4f1b48
commit 8b47eb1139
8 changed files with 83 additions and 32 deletions

View File

@@ -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();
}