From 2a53d1a3fd0c6d6a106c3c5fb5e37956898a6e97 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Tue, 10 May 2022 13:34:34 +0200 Subject: [PATCH] Update one thing --- SpigotCore_Main/src/de/steamwar/command/TypeUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();