mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-08-02 14:24:03 +00:00
Fixed permissions with brush commands.
This commit is contained in:
@@ -79,6 +79,7 @@ public class ToolUtilCommands {
|
|||||||
min = 0,
|
min = 0,
|
||||||
max = 1
|
max = 1
|
||||||
)
|
)
|
||||||
|
@CommandPermissions({"worldedit.brush.options.mask"})
|
||||||
public static void mask(CommandContext args, WorldEdit we,
|
public static void mask(CommandContext args, WorldEdit we,
|
||||||
LocalSession session, LocalPlayer player, EditSession editSession)
|
LocalSession session, LocalPlayer player, EditSession editSession)
|
||||||
throws WorldEditException {
|
throws WorldEditException {
|
||||||
@@ -99,6 +100,7 @@ public class ToolUtilCommands {
|
|||||||
min = 1,
|
min = 1,
|
||||||
max = 1
|
max = 1
|
||||||
)
|
)
|
||||||
|
@CommandPermissions({"worldedit.brush.options.material"})
|
||||||
public static void material(CommandContext args, WorldEdit we,
|
public static void material(CommandContext args, WorldEdit we,
|
||||||
LocalSession session, LocalPlayer player, EditSession editSession)
|
LocalSession session, LocalPlayer player, EditSession editSession)
|
||||||
throws WorldEditException {
|
throws WorldEditException {
|
||||||
@@ -114,6 +116,7 @@ public class ToolUtilCommands {
|
|||||||
min = 1,
|
min = 1,
|
||||||
max = 1
|
max = 1
|
||||||
)
|
)
|
||||||
|
@CommandPermissions({"worldedit.brush.options.size"})
|
||||||
public static void size(CommandContext args, WorldEdit we,
|
public static void size(CommandContext args, WorldEdit we,
|
||||||
LocalSession session, LocalPlayer player, EditSession editSession)
|
LocalSession session, LocalPlayer player, EditSession editSession)
|
||||||
throws WorldEditException {
|
throws WorldEditException {
|
||||||
|
Reference in New Issue
Block a user