mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 14:12:20 -07:00
Add command to reload permissions.yml and require confirm to reload
This commit is contained in:
@@ -2396,6 +2396,13 @@ public final class Bukkit {
|
||||
public static org.bukkit.command.CommandMap getCommandMap() {
|
||||
return server.getCommandMap();
|
||||
}
|
||||
|
||||
/**
|
||||
* Reload the Permissions in permissions.yml
|
||||
*/
|
||||
public static void reloadPermissions() {
|
||||
server.reloadPermissions();
|
||||
}
|
||||
// Paper end
|
||||
|
||||
@NotNull
|
||||
|
Reference in New Issue
Block a user