SPIGOT-4258: Add Player.updateCommands method

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2018-08-12 09:40:51 +10:00
parent d80abc45fc
commit cb5d8ec4e1

View file

@ -1484,4 +1484,12 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
* @return the player's locale
*/
public String getLocale();
/**
* Update the list of commands sent to the client.
* <br>
* Generally useful to ensure the client has a complete list of commands
* after permission changes are done.
*/
public void updateCommands();
}