mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
Fixed permissions with brush commands.
This commit is contained in:
parent
8a773d2a05
commit
b3508fc2bf
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user