diff --git a/SpigotCore_Main/src/de/steamwar/command/TypeUtils.java b/SpigotCore_Main/src/de/steamwar/command/TypeUtils.java index edc7525..f4db4f9 100644 --- a/SpigotCore_Main/src/de/steamwar/command/TypeUtils.java +++ b/SpigotCore_Main/src/de/steamwar/command/TypeUtils.java @@ -36,7 +36,7 @@ import java.util.stream.Collectors; @UtilityClass public class TypeUtils { - public static void init() { + static void init() { SWCommandUtils.addMapper(Player.class, SWCommandUtils.createMapper(Bukkit::getPlayer, s -> Bukkit.getOnlinePlayers().stream().map(Player::getName).collect(Collectors.toList()))); SWCommandUtils.addMapper(GameMode.class, SWCommandUtils.createMapper(s -> { s = s.toLowerCase();