SteamWar/SpigotCore
Archiviert
13
0

Update one thing
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2022-05-10 13:34:34 +02:00
Ursprung c7d8947671
Commit 2a53d1a3fd

Datei anzeigen

@ -36,7 +36,7 @@ import java.util.stream.Collectors;
@UtilityClass @UtilityClass
public class TypeUtils { 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(Player.class, SWCommandUtils.createMapper(Bukkit::getPlayer, s -> Bukkit.getOnlinePlayers().stream().map(Player::getName).collect(Collectors.toList())));
SWCommandUtils.addMapper(GameMode.class, SWCommandUtils.createMapper(s -> { SWCommandUtils.addMapper(GameMode.class, SWCommandUtils.createMapper(s -> {
s = s.toLowerCase(); s = s.toLowerCase();