Allow commands to be used in command blocks (#1117)
(cherry picked from commit 805576a
)
This commit is contained in:
parent
5ea7177bdb
commit
3be9bdf4bc
|
@ -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)));
|
||||
|
|
Loading…
Reference in a new issue