From 4134a0f4857ad811b11c3f2d9a09d208f59e0e31 Mon Sep 17 00:00:00 2001 From: Alexandra-Myers Date: Sat, 27 Jul 2024 14:53:37 -0400 Subject: [PATCH] add pot to command --- src/main/java/com/nexia/core/commands/player/PlayCommand.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/nexia/core/commands/player/PlayCommand.java b/src/main/java/com/nexia/core/commands/player/PlayCommand.java index 2d2ecf15..4c9fd6b6 100644 --- a/src/main/java/com/nexia/core/commands/player/PlayCommand.java +++ b/src/main/java/com/nexia/core/commands/player/PlayCommand.java @@ -18,6 +18,7 @@ public static void register(CommandDispatcher 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"))) @@ -28,6 +29,7 @@ private static void register(CommandDispatcher 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")))