mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-19 15:48:10 +01:00
Fixed permissions for region loading/saving.
This commit is contained in:
parent
6df9c3660b
commit
0951d00da3
@ -955,6 +955,7 @@ public void remove(CommandContext args, CommandSender sender) throws CommandExce
|
||||
|
||||
@Command(aliases = {"load", "reload"}, usage = "[world]",
|
||||
desc = "Reload regions from file", max = 1)
|
||||
@CommandPermissions({"worldguard.region.load"})
|
||||
public void load(CommandContext args, CommandSender sender) throws CommandException {
|
||||
|
||||
World world = null;
|
||||
@ -993,6 +994,7 @@ public void load(CommandContext args, CommandSender sender) throws CommandExcept
|
||||
|
||||
@Command(aliases = {"save", "write"}, usage = "[world]",
|
||||
desc = "Re-save regions to file", max = 1)
|
||||
@CommandPermissions({"worldguard.region.save"})
|
||||
public void save(CommandContext args, CommandSender sender) throws CommandException {
|
||||
|
||||
World world = null;
|
||||
|
Loading…
Reference in New Issue
Block a user