aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/commands
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-02-06 15:06:32 +0900
committersyeyoung <cyong06@naver.com>2021-02-06 15:06:32 +0900
commit3c2e3b674458430094ccafd942612771df890c26 (patch)
tree6a7c70b51ab6d98ec11dd69d0eb8c044921de1f2 /src/main/java/kr/syeyoung/dungeonsguide/commands
parent00ff33e33ee694845697f807760282c0ee22f3e5 (diff)
downloadSkyblock-Dungeons-Guide-3c2e3b674458430094ccafd942612771df890c26.tar.gz
Skyblock-Dungeons-Guide-3c2e3b674458430094ccafd942612771df890c26.tar.bz2
Skyblock-Dungeons-Guide-3c2e3b674458430094ccafd942612771df890c26.zip
reparty
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/commands')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/commands/CommandDungeonsGuide.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/commands/CommandDungeonsGuide.java b/src/main/java/kr/syeyoung/dungeonsguide/commands/CommandDungeonsGuide.java
index 2a12c3a1..77a337a7 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/commands/CommandDungeonsGuide.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/commands/CommandDungeonsGuide.java
@@ -32,7 +32,6 @@ public class CommandDungeonsGuide extends CommandBase {
@Override
public void processCommand(ICommandSender sender, String[] args) {
if (args.length == 0) {
- // open config
openConfig = true;
} else if (args[0].equalsIgnoreCase("saverooms")) {
DungeonRoomInfoRegistry.saveAll(e.getDungeonsGuide().getConfigDir());
@@ -84,6 +83,10 @@ public class CommandDungeonsGuide extends CommandBase {
} else if (args[0].equalsIgnoreCase("brand")) {
String serverBrand = Minecraft.getMinecraft().thePlayer.getClientBrand();
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e"+serverBrand));
+ } else if (args[0].equalsIgnoreCase("reparty")) {
+ e.getDungeonsGuide().getCommandReparty().requestReparty();
+ } else if (args[0].equalsIgnoreCase("gui")) {
+ openConfig = true;
} else {
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e/dg §7-§fOpens configuration gui"));
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e/dg gui §7-§fOpens configuration gui"));
@@ -92,6 +95,7 @@ public class CommandDungeonsGuide extends CommandBase {
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e/dg loadrooms §7-§f Reloads dungeon roomdata."));
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e/dg reloadah §7-§f Reloads price data from server."));
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e/dg brand §7-§f View server brand."));
+ sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e/dg reparty §7-§f Reparty."));
}
}