mirror of
https://github.com/PaperMC/Paper.git
synced 2025-04-29 07:04:51 +02:00
Allow command line arg to allow normal reload
This commit is contained in:
parent
a3cc380333
commit
4646f9b68f
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue