Marked the PlayerCommand hook as obsolete.

This commit is contained in:
AkjaHAsLk1IALk0MasH 2023-06-15 13:01:52 +07:00
parent a656a1cc19
commit 1ef96f9537

View file

@ -16,6 +16,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using TShockAPI.DB;
@ -388,6 +389,7 @@ namespace TShockAPI.Hooks
/// <summary>
/// Fired by players when using a command.
/// </summary>
[Obsolete("There is an alternative to PlayerHooks.PrePlayerCommand")]
public static event PlayerCommandD PlayerCommand;
/// <summary>