3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-17 05:20:05 +01:00

Hacky solution to expose ip. Will fix properly later if I care to give a ****

Dieser Commit ist enthalten in:
tahg 2011-03-18 00:03:03 -07:00
Ursprung f28f3a6a9c
Commit 1144013362

Datei anzeigen

@ -138,6 +138,8 @@ public class ServerConfigurationManager {
event.disallow(PlayerLoginEvent.Result.KICK_BANNED, "Your IP address is banned from this server!");
} else if (this.b.size() >= this.e) {
event.disallow(PlayerLoginEvent.Result.KICK_FULL, "The server is full!");
} else {
event.disallow(PlayerLoginEvent.Result.ALLOWED, s2);
}
server.getPluginManager().callEvent(event);