Override canCommandSenderUseCommand

This allows users to use the /Buildcraft command without needing to
enable cheats in the world creation menu
This commit is contained in:
viper283 2013-02-15 19:34:24 +00:00
parent 4d790e9229
commit 8eb7af5741

View file

@ -25,6 +25,11 @@ public class CommandBuildCraft extends CommandBase {
return "/" + this.getCommandName() + " help";
}
@Override
public boolean canCommandSenderUseCommand(ICommandSender par1ICommandSender) {
return true;
}
@Override
public List getCommandAliases() {
return null;