Fixed permissions with brush commands.

Dieser Commit ist enthalten in:
sk89q 2011-02-24 09:31:28 -08:00
Ursprung 8a773d2a05
Commit b3508fc2bf

Datei anzeigen

@ -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 {