Validate usernames
This commit is contained in:
@@ -527,7 +527,7 @@
|
||||
+
|
||||
+ for (int i = 0; i < this.players.size(); ++i) {
|
||||
+ entityplayer = (ServerPlayer) this.players.get(i);
|
||||
+ if (entityplayer.getUUID().equals(uuid)) {
|
||||
+ if (entityplayer.getUUID().equals(uuid) || (io.papermc.paper.configuration.GlobalConfiguration.get().proxies.isProxyOnlineMode() && entityplayer.getGameProfile().getName().equalsIgnoreCase(gameprofile.getName()))) { // Paper - validate usernames
|
||||
+ list.add(entityplayer);
|
||||
+ }
|
||||
+ }
|
||||
|
||||
Reference in New Issue
Block a user