SPIGOT-4258: Add Player.updateCommands method

This commit is contained in:
md_5 2018-08-12 09:40:51 +10:00
parent 1f85e52623
commit 14fcd896c9

View file

@ -1484,4 +1484,12 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
* @return the player's locale * @return the player's locale
*/ */
public String getLocale(); 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();
} }