aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/commands/DisplayCommand.java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2020-11-22 19:19:35 -0500
committerbowser0000 <bowser0000@gmail.com>2020-11-22 19:19:35 -0500
commitb89d16855374a3e75c4c1279226d23d923821084 (patch)
tree74e687e6a4e42daf1a872197a16efde8556a3bc2 /src/main/java/me/Danker/commands/DisplayCommand.java
parent43c6b9c0387eb0294d12f9de22baad7f9235b86f (diff)
downloadSkyblockMod-b89d16855374a3e75c4c1279226d23d923821084.tar.gz
SkyblockMod-b89d16855374a3e75c4c1279226d23d923821084.tar.bz2
SkyblockMod-b89d16855374a3e75c4c1279226d23d923821084.zip
Add F7 tracker
Diffstat (limited to 'src/main/java/me/Danker/commands/DisplayCommand.java')
-rw-r--r--src/main/java/me/Danker/commands/DisplayCommand.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/main/java/me/Danker/commands/DisplayCommand.java b/src/main/java/me/Danker/commands/DisplayCommand.java
index 2af402e..8ee18ec 100644
--- a/src/main/java/me/Danker/commands/DisplayCommand.java
+++ b/src/main/java/me/Danker/commands/DisplayCommand.java
@@ -22,7 +22,7 @@ public class DisplayCommand extends CommandBase {
@Override
public String getCommandUsage(ICommandSender arg0) {
- return "/" + getCommandName() + " <zombie/spider/wolf/fishing/catacombs/auto/off> [winter/festival/spooky/session/f(1-6)]";
+ return "/" + getCommandName() + " <zombie/spider/wolf/fishing/catacombs/auto/off> [winter/festival/spooky/session/f(1-7)]";
}
@Override
@@ -37,7 +37,7 @@ public class DisplayCommand extends CommandBase {
} else if (args.length == 2 && args[0].equalsIgnoreCase("fishing")) {
return getListOfStringsMatchingLastWord(args, "winter", "festival", "spooky", "session");
} else if (args.length == 2 && args[0].equalsIgnoreCase("catacombs")) {
- return getListOfStringsMatchingLastWord(args, "f1", "floor1", "f2", "floor2", "f3", "floor3", "f4", "floor4", "f5", "floor5", "f6", "floor6");
+ return getListOfStringsMatchingLastWord(args, "f1", "floor1", "f2", "floor2", "f3", "floor3", "f4", "floor4", "f5", "floor5", "f6", "floor6", "f7", "floor7");
} else if (args.length > 1 || (args.length == 3 && args[0].equalsIgnoreCase("fishing") && args[1].equalsIgnoreCase("winter"))) {
return getListOfStringsMatchingLastWord(args, "session");
}
@@ -142,6 +142,12 @@ public class DisplayCommand extends CommandBase {
} else {
display = "catacombs_floor_six";
}
+ } else if (arg1[1].equalsIgnoreCase("f7") || arg1[1].equalsIgnoreCase("floor7")) {
+ if (showSession) {
+ display = "catacombs_floor_seven_session";
+ } else {
+ display = "catacombs_floor_seven";
+ }
} else {
player.addChatMessage(new ChatComponentText(TheMod.ERROR_COLOUR + "Usage: /display catacombs <f1/f2/f3/f4/f5/f6>"));
return;