From ad2f56e251ab4aaac3cf028b2f312f7d6ce1e014 Mon Sep 17 00:00:00 2001 From: White Date: Wed, 6 Jul 2016 22:06:15 +0930 Subject: [PATCH] Added detail to the TSPlayer.HasPermission method comments --- TShockAPI/TSPlayer.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/TShockAPI/TSPlayer.cs b/TShockAPI/TSPlayer.cs index d522a061..7364e6eb 100755 --- a/TShockAPI/TSPlayer.cs +++ b/TShockAPI/TSPlayer.cs @@ -1019,7 +1019,10 @@ namespace TShockAPI } /// - /// Checks to see if a player or its associated group/temporary group has a specified permission. + /// Checks to see if a player has a specific permission. + /// Fires the hook which may be handled to override permission checks. + /// If the OnPlayerPermission hook is not handled and the player is assigned a temporary group, this method calls on the temporary group and returns the result. + /// If the OnPlayerPermission hook is not handled and the player is not assigned a temporary group, this method calls on the player's current group. /// /// The permission to check. /// True if the player has that permission.