mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 21:48:43 +01:00
Fixed /dxl edit only working with permission even if the player is invited
This commit is contained in:
parent
9d78ce5db1
commit
970e351c5f
@ -16,7 +16,6 @@ public class EditCommand extends DCommand {
|
|||||||
setMinArgs(1);
|
setMinArgs(1);
|
||||||
setMaxArgs(1);
|
setMaxArgs(1);
|
||||||
setHelp(dMessages.getMessage(Messages.HELP_CMD_EDIT));
|
setHelp(dMessages.getMessage(Messages.HELP_CMD_EDIT));
|
||||||
setPermission("dxl.edit");
|
|
||||||
setPlayerCommand(true);
|
setPlayerCommand(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user