diff --git a/TShockAPI/Hooks/PlayerHooks.cs b/TShockAPI/Hooks/PlayerHooks.cs
index e6b68581..15cac88d 100644
--- a/TShockAPI/Hooks/PlayerHooks.cs
+++ b/TShockAPI/Hooks/PlayerHooks.cs
@@ -16,6 +16,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
+using System;
using System.Collections.Generic;
using System.ComponentModel;
using TShockAPI.DB;
@@ -388,6 +389,7 @@ namespace TShockAPI.Hooks
///
/// Fired by players when using a command.
///
+ [Obsolete("There is an alternative to PlayerHooks.PrePlayerCommand")]
public static event PlayerCommandD PlayerCommand;
///