diff --git a/TShockAPI/Commands.cs b/TShockAPI/Commands.cs index 2a518896..6871cef5 100755 --- a/TShockAPI/Commands.cs +++ b/TShockAPI/Commands.cs @@ -365,7 +365,7 @@ namespace TShockAPI }); #endregion #region Item Commands - add(new Command(Permissions.item, Give, "give", "g") + add(new Command(Permissions.give, Give, "give", "g") { HelpText = "Gives another player an item." }); diff --git a/TShockAPI/Permissions.cs b/TShockAPI/Permissions.cs index cfd88811..8f6bf446 100644 --- a/TShockAPI/Permissions.cs +++ b/TShockAPI/Permissions.cs @@ -165,6 +165,9 @@ namespace TShockAPI // tshock.item nodes + [Description("User can give items.")] + public static readonly string give = "tshock.item.give"; + [Description("User can spawn items.")] public static readonly string item = "tshock.item.spawn";