aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/commands
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-01-30 16:48:06 +0900
committersyeyoung <cyong06@naver.com>2021-01-30 16:48:06 +0900
commit4dc90bc278a2ae0789ca9b810cc7af7d28b28ab2 (patch)
treeb51071d8fafd13b783c08eedcb12fd6b183c86b3 /src/main/java/kr/syeyoung/dungeonsguide/commands
parentb5df27751269c372191dc26491121eb052138e03 (diff)
downloadSkyblock-Dungeons-Guide-4dc90bc278a2ae0789ca9b810cc7af7d28b28ab2.tar.gz
Skyblock-Dungeons-Guide-4dc90bc278a2ae0789ca9b810cc7af7d28b28ab2.tar.bz2
Skyblock-Dungeons-Guide-4dc90bc278a2ae0789ca9b810cc7af7d28b28ab2.zip
Advanced stuff and brand command
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/commands')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/commands/CommandDungeonsGuide.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/commands/CommandDungeonsGuide.java b/src/main/java/kr/syeyoung/dungeonsguide/commands/CommandDungeonsGuide.java
index 5273bbe4..2a12c3a1 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/commands/CommandDungeonsGuide.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/commands/CommandDungeonsGuide.java
@@ -81,6 +81,9 @@ public class CommandDungeonsGuide extends CommandBase {
e.printStackTrace();
}
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §fReloaded Ah data"));
+ } else if (args[0].equalsIgnoreCase("brand")) {
+ String serverBrand = Minecraft.getMinecraft().thePlayer.getClientBrand();
+ sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e"+serverBrand));
} 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"));
@@ -88,6 +91,7 @@ public class CommandDungeonsGuide extends CommandBase {
sender.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: §e/dg saverooms §7-§f Saves usergenerated dungeon roomdata."));
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."));
}
}