Dieser Commit ist enthalten in:
Ursprung
006754990c
Commit
46beaddbd7
@ -28,7 +28,6 @@ import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import java.lang.annotation.Annotation;
|
||||
import java.lang.reflect.Array;
|
||||
import java.lang.reflect.Method;
|
||||
import java.lang.reflect.Parameter;
|
||||
import java.util.*;
|
||||
@ -200,9 +199,6 @@ public class SWCommandUtils {
|
||||
}
|
||||
|
||||
private static GuardChecker getGuardChecker(String s, Map<String, GuardChecker> localGuardChecker) {
|
||||
System.out.println(": " + s);
|
||||
System.out.println(localGuardChecker);
|
||||
System.out.println(GUARD_FUNCTIONS);
|
||||
GuardChecker guardChecker = localGuardChecker.getOrDefault(s, GUARD_FUNCTIONS.getOrDefault(s, null));
|
||||
if (guardChecker == null) {
|
||||
throw new IllegalArgumentException("No guard found for " + s);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren