Allow Reloading of Command Aliases

Reload the aliases stored in commands.yml
This commit is contained in:
willies952002
2016-11-28 10:16:39 -05:00
parent 2b323743b6
commit 55dc3ff664
5 changed files with 37 additions and 2 deletions

View File

@@ -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