summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/bukkit/entity/Player.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
index 088b2163..c59d93b7 100644
--- a/src/main/java/org/bukkit/entity/Player.java
+++ b/src/main/java/org/bukkit/entity/Player.java
@@ -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();
}