mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 14:12:20 -07:00
Allow Reloading of Command Aliases
Reload the aliases stored in commands.yml
This commit is contained in:
@@ -2403,6 +2403,15 @@ public final class Bukkit {
|
||||
public static void reloadPermissions() {
|
||||
server.reloadPermissions();
|
||||
}
|
||||
|
||||
/**
|
||||
* Reload the Command Aliases in commands.yml
|
||||
*
|
||||
* @return Whether the reload was successful
|
||||
*/
|
||||
public static boolean reloadCommandAliases() {
|
||||
return server.reloadCommandAliases();
|
||||
}
|
||||
// Paper end
|
||||
|
||||
@NotNull
|
||||
|
Reference in New Issue
Block a user