diff options
Diffstat (limited to 'src/main/java/de/torui/coflsky/ColfCommand.java')
-rw-r--r-- | src/main/java/de/torui/coflsky/ColfCommand.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/main/java/de/torui/coflsky/ColfCommand.java b/src/main/java/de/torui/coflsky/ColfCommand.java new file mode 100644 index 0000000..85091c2 --- /dev/null +++ b/src/main/java/de/torui/coflsky/ColfCommand.java @@ -0,0 +1,31 @@ +package de.torui.coflsky; + +import net.minecraft.command.CommandBase; +import net.minecraft.command.CommandException; +import net.minecraft.command.ICommandSender; + +public class ColfCommand extends CommandBase{ + + @Override + public int getRequiredPermissionLevel() { + return 0; + } + + @Override + public String getCommandName() { + // TODO Auto-generated method stub + return "colf"; + } + + @Override + public String getCommandUsage(ICommandSender sender) { + // TODO Auto-generated method stub + return "you misspelled /cofl"; + } + + @Override + public void processCommand(ICommandSender sender, String[] args) throws CommandException { + throw new CommandException("you misspelled /cofl"); + } + +} |