geforkt von Mirrors/Paper
Allow command line arg to allow normal reload
Dieser Commit ist enthalten in:
Ursprung
a3cc380333
Commit
4646f9b68f
@ -54,7 +54,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
if (!testPermission(sender)) return true;
|
||||
|
||||
+ // Paper start - Reload permissions.yml & require confirm
|
||||
+ boolean confirmed = false;
|
||||
+ boolean confirmed = System.getProperty("LetMeReload") != null;
|
||||
+ if (args.length == 1) {
|
||||
+ if (args[0].equalsIgnoreCase("permissions")) {
|
||||
+ Bukkit.getServer().reloadPermissions();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren