geforkt von Mirrors/HeadDB
add permission to plugin.yml and fix safegaurd
Dieser Commit ist enthalten in:
Ursprung
9c3a45502a
Commit
7ad9607831
@ -153,6 +153,7 @@ public class Command_headdb implements CommandExecutor {
|
||||
|
||||
Utils.sendMessage(sender, "Updating...");
|
||||
Bukkit.getScheduler().runTaskAsynchronously(HeadDB.getInstance(), () -> HeadAPI.getDatabase().update());
|
||||
return true;
|
||||
}
|
||||
|
||||
Utils.sendMessage(sender, " ");
|
||||
|
@ -23,6 +23,7 @@ permissions:
|
||||
headdb.favorites: true
|
||||
headdb.local: true
|
||||
headdb.tagsearch: true
|
||||
headdb.update: true
|
||||
headdb.open:
|
||||
default: op
|
||||
headdb.search:
|
||||
@ -34,4 +35,6 @@ permissions:
|
||||
headdb.local:
|
||||
default: op
|
||||
headdb.tagsearch:
|
||||
default: op
|
||||
headdb.update:
|
||||
default: op
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren