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:
parent
4d790e9229
commit
8eb7af5741
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue