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

(cherry picked from commit 805576a)
This commit is contained in:
Nicholas Ignoffo 2017-04-03 17:03:46 -07:00
parent 5ea7177bdb
commit 3be9bdf4bc

View file

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