Separate item give perm from item spawn

This commit is contained in:
Patrikk 2016-06-20 19:21:34 +02:00
parent b16ff6efc7
commit ba73d5906a
2 changed files with 4 additions and 1 deletions

View file

@ -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."
});

View file

@ -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";