Separate item give perm from item spawn
This commit is contained in:
parent
b16ff6efc7
commit
ba73d5906a
2 changed files with 4 additions and 1 deletions
|
|
@ -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."
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue