Merge pull request #1221 from Patrikkk/separate-give-permission

Separate item give perm from item spawn
This commit is contained in:
White 2016-06-21 11:25:44 +09:30 committed by GitHub
commit 546e2868b3
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";