mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-20 05:14:15 +00:00
SPIGOT-4258: Add Player.updateCommands method
This commit is contained in:
parent
1f85e52623
commit
14fcd896c9
1 changed files with 8 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue