mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-04-09 05:36:38 +02:00
Fixes wrong admin permission.
Default Amin command should have `admin` instead of admin.*
This commit is contained in:
parent
44201afa1f
commit
6c1399c2b4
@ -38,7 +38,7 @@ public abstract class DefaultAdminCommand extends CompositeCommand {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void setup() {
|
public void setup() {
|
||||||
this.setPermission("admin.*");
|
this.setPermission("admin");
|
||||||
this.setOnlyPlayer(false);
|
this.setOnlyPlayer(false);
|
||||||
|
|
||||||
this.setParametersHelp("commands.admin.help.parameters");
|
this.setParametersHelp("commands.admin.help.parameters");
|
||||||
|
Loading…
Reference in New Issue
Block a user