diff options
author | ThatGravyBoat <thatgravyboat@gmail.com> | 2021-07-07 21:52:37 -0230 |
---|---|---|
committer | ThatGravyBoat <thatgravyboat@gmail.com> | 2021-07-07 21:52:37 -0230 |
commit | 36a66e436ef3c5a3aa2deda0e1538db072ca7f71 (patch) | |
tree | 32a3a104464da3ef8ee743ecfe241d1320ad25c9 /src/main/java/com/thatgravyboat/skyblockhud/commands/SimpleCommand.java | |
parent | 93248d28d6b314b42f6b0d82164975343b214ece (diff) | |
download | SkyblockHud-Death-Defied-36a66e436ef3c5a3aa2deda0e1538db072ca7f71.tar.gz SkyblockHud-Death-Defied-36a66e436ef3c5a3aa2deda0e1538db072ca7f71.tar.bz2 SkyblockHud-Death-Defied-36a66e436ef3c5a3aa2deda0e1538db072ca7f71.zip |
Added Alpha Crystal Hollows locations to get ahead of the update and added commands for people to help me with deving.
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/commands/SimpleCommand.java')
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/commands/SimpleCommand.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/commands/SimpleCommand.java b/src/main/java/com/thatgravyboat/skyblockhud/commands/SimpleCommand.java index db23b8e..d5d3c57 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/commands/SimpleCommand.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/commands/SimpleCommand.java @@ -1,11 +1,11 @@ package com.thatgravyboat.skyblockhud.commands; -import java.util.List; import net.minecraft.command.CommandBase; -import net.minecraft.command.CommandException; import net.minecraft.command.ICommandSender; import net.minecraft.util.BlockPos; +import java.util.List; + /** @author Moulberry **/ @@ -48,10 +48,12 @@ public class SimpleCommand extends CommandBase { return "/" + commandName; } - public void processCommand(ICommandSender sender, String[] args) throws CommandException { + @Override + public void processCommand(ICommandSender sender, String[] args) { runnable.processCommand(sender, args); } + @Override public List<String> addTabCompletionOptions(ICommandSender sender, String[] args, BlockPos pos) { if (tabRunnable != null) return tabRunnable.tabComplete(sender, args, pos); return null; |