diff options
author | bowser0000 <bowser0000@gmail.com> | 2021-03-14 22:34:12 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2021-03-14 22:34:12 -0400 |
commit | e1fd25b6841e94e0b1861528f3f05378fc23a04f (patch) | |
tree | a336ea1e2de1cd5768a3b9acccd4c1e9df2f043c /src/main/java/me/Danker/commands/BlockSlayerCommand.java | |
parent | 668a2e184c270d01b259bd3f9269892a05bcc870 (diff) | |
download | SkyblockMod-e1fd25b6841e94e0b1861528f3f05378fc23a04f.tar.gz SkyblockMod-e1fd25b6841e94e0b1861528f3f05378fc23a04f.tar.bz2 SkyblockMod-e1fd25b6841e94e0b1861528f3f05378fc23a04f.zip |
Add support for rev 5 and auto slayer
Diffstat (limited to 'src/main/java/me/Danker/commands/BlockSlayerCommand.java')
-rw-r--r-- | src/main/java/me/Danker/commands/BlockSlayerCommand.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/me/Danker/commands/BlockSlayerCommand.java b/src/main/java/me/Danker/commands/BlockSlayerCommand.java index c0beb42..09da5d6 100644 --- a/src/main/java/me/Danker/commands/BlockSlayerCommand.java +++ b/src/main/java/me/Danker/commands/BlockSlayerCommand.java @@ -21,7 +21,7 @@ public class BlockSlayerCommand extends CommandBase { @Override public String getCommandUsage(ICommandSender arg0) { - return "/" + getCommandName() + " <zombie/spider/wolf> <1/2/3/4>"; + return "/" + getCommandName() + " <zombie/spider/wolf> <1/2/3/4/5>"; } @Override @@ -34,7 +34,7 @@ public class BlockSlayerCommand extends CommandBase { if (args.length == 1) { return getListOfStringsMatchingLastWord(args, "zombie", "spider", "wolf"); } else if (args.length == 2) { - return getListOfStringsMatchingLastWord(args, "1", "2", "3", "4"); + return getListOfStringsMatchingLastWord(args, "1", "2", "3", "4", "5"); } return null; } @@ -84,6 +84,9 @@ public class BlockSlayerCommand extends CommandBase { case 4: BlockWrongSlayer.onlySlayerNumber = "IV"; break; + case 5: + BlockWrongSlayer.onlySlayerNumber = "V"; + break; default: BlockWrongSlayer.onlySlayerName = ""; BlockWrongSlayer.onlySlayerNumber = ""; |