blob: 85091c263f4968810e9ac0e6d153cd231b8be56b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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");
}
}
|