Fixed using apart. prefix instead of plotpermissions. for subcommands
This commit is contained in:
1 parent
6ff3e8aa2a
commit
6463755d5c
1 file changed
+1
-1
@@ -18,7 +18,7 @@ public abstract class SubCommand {
|
|||||||
public abstract String getName();
|
public abstract String getName();
|
||||||
|
|
||||||
public String getPermission() {
|
public String getPermission() {
|
||||||
return "apart." + getName();
|
return "plotpermissions." + getName();
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract List<String> getTabComplete(CommandSender commandSender, String[] args);
|
public abstract List<String> getTabComplete(CommandSender commandSender, String[] args);
|
||||||
|
|||||||
Reference in new issue
Block a user