From b3508fc2bf196173d0d5c0aff15e3bde96f8cb35 Mon Sep 17 00:00:00 2001 From: sk89q Date: Thu, 24 Feb 2011 09:31:28 -0800 Subject: [PATCH] Fixed permissions with brush commands. --- src/com/sk89q/worldedit/commands/ToolUtilCommands.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/com/sk89q/worldedit/commands/ToolUtilCommands.java b/src/com/sk89q/worldedit/commands/ToolUtilCommands.java index cea223007..b070ba7a6 100644 --- a/src/com/sk89q/worldedit/commands/ToolUtilCommands.java +++ b/src/com/sk89q/worldedit/commands/ToolUtilCommands.java @@ -79,6 +79,7 @@ public class ToolUtilCommands { min = 0, max = 1 ) + @CommandPermissions({"worldedit.brush.options.mask"}) public static void mask(CommandContext args, WorldEdit we, LocalSession session, LocalPlayer player, EditSession editSession) throws WorldEditException { @@ -99,6 +100,7 @@ public class ToolUtilCommands { min = 1, max = 1 ) + @CommandPermissions({"worldedit.brush.options.material"}) public static void material(CommandContext args, WorldEdit we, LocalSession session, LocalPlayer player, EditSession editSession) throws WorldEditException { @@ -114,6 +116,7 @@ public class ToolUtilCommands { min = 1, max = 1 ) + @CommandPermissions({"worldedit.brush.options.size"}) public static void size(CommandContext args, WorldEdit we, LocalSession session, LocalPlayer player, EditSession editSession) throws WorldEditException {