SteamWar/SpigotCore
Archiviert
13
0

Fix SWCommandUtils.generateCommandPart
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2021-12-09 23:24:06 +01:00
Ursprung 006754990c
Commit 46beaddbd7

Datei anzeigen

@ -28,7 +28,6 @@ import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import java.lang.annotation.Annotation; import java.lang.annotation.Annotation;
import java.lang.reflect.Array;
import java.lang.reflect.Method; import java.lang.reflect.Method;
import java.lang.reflect.Parameter; import java.lang.reflect.Parameter;
import java.util.*; import java.util.*;
@ -200,9 +199,6 @@ public class SWCommandUtils {
} }
private static GuardChecker getGuardChecker(String s, Map<String, GuardChecker> localGuardChecker) { 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)); GuardChecker guardChecker = localGuardChecker.getOrDefault(s, GUARD_FUNCTIONS.getOrDefault(s, null));
if (guardChecker == null) { if (guardChecker == null) {
throw new IllegalArgumentException("No guard found for " + s); throw new IllegalArgumentException("No guard found for " + s);