mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 03:22:19 +01:00
SPIGOT-4258: Add Player.updateCommands method
By: md_5 <git@md-5.net>
This commit is contained in:
parent
d80abc45fc
commit
cb5d8ec4e1
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…
Reference in a new issue