Skip to content

Commit

Permalink
Easy command update
Browse files Browse the repository at this point in the history
Make command easier
  • Loading branch information
BalloonChamp committed Dec 20, 2015
1 parent a02ce46 commit 0ed4948
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
import com.google.common.collect.ImmutableList;

public class GameModeCommand extends VanillaCommand {
private static final List<String> GAMEMODE_NAMES = ImmutableList.of("adventure", "creative", "survival");
private static final List<String> GAMEMODE_NAMES = ImmutableList.of("a", "c", "s");

public GameModeCommand() {
super("gamemode");
super("gm");
this.description = "Changes the player to a specific game mode";
this.usageMessage = "/gamemode <mode> [player]";
this.usageMessage = "/gm <mode (a, c, or s)> [player]";
this.setPermission("bukkit.command.gamemode");
}

Expand Down

0 comments on commit 0ed4948

Please sign in to comment.