Added permission and checking for when an npc's home is updated. In order to set an npcs home a user needs the permission moveNPC
This commit is contained in:
parent
cb653f6237
commit
04cdd56d13
2 changed files with 14 additions and 0 deletions
|
|
@ -141,6 +141,9 @@ namespace TShockAPI
|
|||
[Description("User can change hardmode state.")]
|
||||
public static readonly string hardmode;
|
||||
|
||||
[Description("User can change the homes of NPCs.")]
|
||||
public static readonly string moveNPC;
|
||||
|
||||
static Permissions()
|
||||
{
|
||||
foreach (var field in typeof(Permissions).GetFields())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue