SteamWar/BauSystem
Archiviert
13
0

Add "survival" option in "/gm" command #64

Manuell gemergt
Lixfel hat 1 Commits von GamemodeSurvival nach master 2020-05-31 18:36:12 +02:00 zusammengeführt

Datei anzeigen

@ -66,6 +66,8 @@ public class CommandGamemode extends BukkitCommand {
return GameMode.ADVENTURE; return GameMode.ADVENTURE;
else if ((modeArg.equalsIgnoreCase("spectator")) || (modeArg.equalsIgnoreCase("sp"))) else if ((modeArg.equalsIgnoreCase("spectator")) || (modeArg.equalsIgnoreCase("sp")))
return GameMode.SPECTATOR; return GameMode.SPECTATOR;
else if ((modeArg.equalsIgnoreCase("survival")) || (modeArg.equalsIgnoreCase("s")))
return GameMode.SURVIVAL;
} }
return null; return null;
} }