diff options
author | bowser0000 <bowser0000@gmail.com> | 2020-11-02 16:44:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-02 16:44:31 -0500 |
commit | 292f5dde43c3e00b78e1d4e772ae336340b0a834 (patch) | |
tree | 7c3810178429cbca5ec62fd05183394e99b4bf5d /src/main/java/me/Danker/commands/DisplayCommand.java | |
parent | 5c5ffdbd4379d4c5002cd42c297f90e631566006 (diff) | |
parent | dfe29936c3bf3c7189a9a4d73d4d1ec33122f7ea (diff) | |
download | SkyblockMod-292f5dde43c3e00b78e1d4e772ae336340b0a834.tar.gz SkyblockMod-292f5dde43c3e00b78e1d4e772ae336340b0a834.tar.bz2 SkyblockMod-292f5dde43c3e00b78e1d4e772ae336340b0a834.zip |
1.8.1v1.8.1
Merge pull request #27 from bowser0000/development
Diffstat (limited to 'src/main/java/me/Danker/commands/DisplayCommand.java')
-rw-r--r-- | src/main/java/me/Danker/commands/DisplayCommand.java | 10 |
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 b96ab2b..ee4422f 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/session/f(1-6)]"; + return "/" + getCommandName() + " <zombie/spider/wolf/fishing/catacombs/auto/off> [winter/festival/spooky/session/f(1-6)]"; } @Override @@ -35,7 +35,7 @@ public class DisplayCommand extends CommandBase { if (args.length == 1) { return getListOfStringsMatchingLastWord(args, "wolf", "spider", "zombie", "fishing", "catacombs", "auto", "off"); } else if (args.length == 2 && args[0].equalsIgnoreCase("fishing")) { - return getListOfStringsMatchingLastWord(args, "winter", "festival", "session"); + 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"); } else if (args.length > 1 || (args.length == 3 && args[0].equalsIgnoreCase("fishing") && args[1].equalsIgnoreCase("winter"))) { @@ -89,6 +89,12 @@ public class DisplayCommand extends CommandBase { } else { display = "fishing_festival"; } + } else if (arg1.length > 1 && arg1[1].equalsIgnoreCase("spooky")) { + if (showSession) { + display = "spooky_fishing_session"; + } else { + display = "spooky_fishing"; + } } else { if (showSession) { display = "fishing_session"; |