geforkt von Mirrors/Paper
Changed the Kick result from KICK_BANNED to KICK_WHITELIST because not being on the whitelist doesn't mean your banned.
Dieser Commit ist enthalten in:
Ursprung
a31f37262d
Commit
33f7af519f
@ -139,7 +139,7 @@ public class ServerConfigurationManager {
|
|||||||
if (this.f.contains(s.trim().toLowerCase())) {
|
if (this.f.contains(s.trim().toLowerCase())) {
|
||||||
event.disallow(PlayerLoginEvent.Result.KICK_BANNED, "You are banned from this server!");
|
event.disallow(PlayerLoginEvent.Result.KICK_BANNED, "You are banned from this server!");
|
||||||
} else if (!this.g(s)) {
|
} else if (!this.g(s)) {
|
||||||
event.disallow(PlayerLoginEvent.Result.KICK_BANNED, "You are not white-listed on this server!");
|
event.disallow(PlayerLoginEvent.Result.KICK_WHITELIST, "You are not white-listed on this server!");
|
||||||
} else if (this.g.contains(s2)) {
|
} else if (this.g.contains(s2)) {
|
||||||
event.disallow(PlayerLoginEvent.Result.KICK_BANNED, "Your IP address is banned from this server!");
|
event.disallow(PlayerLoginEvent.Result.KICK_BANNED, "Your IP address is banned from this server!");
|
||||||
} else if (this.b.size() >= this.e) {
|
} else if (this.b.size() >= this.e) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren