aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/commands/RepartyCommand.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me/Danker/commands/RepartyCommand.java')
-rw-r--r--src/main/java/me/Danker/commands/RepartyCommand.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/main/java/me/Danker/commands/RepartyCommand.java b/src/main/java/me/Danker/commands/RepartyCommand.java
index 623ebf7..39695e6 100644
--- a/src/main/java/me/Danker/commands/RepartyCommand.java
+++ b/src/main/java/me/Danker/commands/RepartyCommand.java
@@ -8,10 +8,11 @@ import net.minecraft.command.CommandBase;
import net.minecraft.command.CommandException;
import net.minecraft.command.ICommand;
import net.minecraft.command.ICommandSender;
-import net.minecraft.util.*;
import net.minecraft.util.ChatComponentText;
+import net.minecraft.util.EnumChatFormatting;
-import java.util.*;
+import java.util.ArrayList;
+import java.util.Collections;
import java.util.List;
@@ -35,6 +36,10 @@ public class RepartyCommand extends CommandBase implements ICommand {
return "/" + getCommandName();
}
+ public static String usage(ICommandSender arg0) {
+ return new RepartyCommand().getCommandUsage(arg0);
+ }
+
@Override
public List<String> getCommandAliases() {
return Collections.singletonList("rp");