Dieser Commit ist enthalten in:
Ursprung
4eeabbe80e
Commit
200a1a4718
@ -101,7 +101,7 @@ class SubCommand {
|
|||||||
return localGuardChecker.getOrDefault(s, GUARD_FUNCTIONS.getOrDefault(s, null));
|
return localGuardChecker.getOrDefault(s, GUARD_FUNCTIONS.getOrDefault(s, null));
|
||||||
}
|
}
|
||||||
GuardChecker current = localGuardChecker.getOrDefault(guard.value(), GUARD_FUNCTIONS.getOrDefault(guard.value(), null));
|
GuardChecker current = localGuardChecker.getOrDefault(guard.value(), GUARD_FUNCTIONS.getOrDefault(guard.value(), null));
|
||||||
if (guardChecker == null) {
|
if (current == null) {
|
||||||
Bukkit.getLogger().log(Level.WARNING, () -> "The guard checker with name '" + guard.value() + "' is neither a local guard checker nor a global one");
|
Bukkit.getLogger().log(Level.WARNING, () -> "The guard checker with name '" + guard.value() + "' is neither a local guard checker nor a global one");
|
||||||
}
|
}
|
||||||
return current;
|
return current;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren