Add "survival" option in "/gm" command
Dieser Commit ist enthalten in:
Ursprung
96ee63d2f4
Commit
ceca0f5c90
@ -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;
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren