Allow commands to be used in command blocks (#1117)

This commit is contained in:
Nicholas Ignoffo 2017-04-03 17:03:46 -07:00
parent 78a71e47e0
commit 805576a19b

View file

@ -29,6 +29,12 @@ public class CommandBloodMagic extends CommandTreeBase
return "/bloodmagic help"; return "/bloodmagic help";
} }
@Override
public int getRequiredPermissionLevel()
{
return 2;
}
public static void displayHelpString(ICommandSender commandSender, String display, Object... info) public static void displayHelpString(ICommandSender commandSender, String display, Object... info)
{ {
commandSender.sendMessage(new TextComponentString(TextHelper.localizeEffect(display, info))); commandSender.sendMessage(new TextComponentString(TextHelper.localizeEffect(display, info)));