Skip to content

Commit

Permalink
add pot to command
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandra-Myers committed Jul 27, 2024
1 parent 2fbc8e4 commit 4134a0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/nexia/core/commands/player/PlayCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public static void register(CommandDispatcher<CommandSourceInfo> dispatcher) {

dispatcher.register(CommandUtils.literal("ffa").executes(PlayCommand::openFFAGui)
.then(CommandUtils.literal("kits").executes(context -> playGame(context, "kits ffa")))
.then(CommandUtils.literal("pot").executes(context -> playGame(context, "pot ffa")))
.then(CommandUtils.literal("sky").executes(context -> playGame(context, "sky ffa")))
.then(CommandUtils.literal("uhc").executes(context -> playGame(context, "uhc ffa")))
.then(CommandUtils.literal("classic").executes(context -> playGame(context, "classic ffa")))
Expand All @@ -28,6 +29,7 @@ private static void register(CommandDispatcher<CommandSourceInfo> dispatcher, St
dispatcher.register(CommandUtils.literal(string).executes(PlayCommand::openGUI)
.then(CommandUtils.literal("ffa").executes(PlayCommand::openFFAGui)
.then(CommandUtils.literal("kits").executes(context -> playGame(context, "kits ffa")))
.then(CommandUtils.literal("pot").executes(context -> playGame(context, "pot ffa")))
.then(CommandUtils.literal("sky").executes(context -> playGame(context, "sky ffa")))
.then(CommandUtils.literal("uhc").executes(context -> playGame(context, "uhc ffa")))
.then(CommandUtils.literal("classic").executes(context -> playGame(context, "classic ffa")))
Expand Down

0 comments on commit 4134a0f

Please sign in to comment.