diff --git a/TShockAPI/GetDataHandlers.cs b/TShockAPI/GetDataHandlers.cs index e59a8de5..eb1e45b2 100644 --- a/TShockAPI/GetDataHandlers.cs +++ b/TShockAPI/GetDataHandlers.cs @@ -763,7 +763,7 @@ namespace TShockAPI private static bool UpdateNPCHome( GetDataHandlerArgs args ) { - if (!args.Player.Group.HasPermission(Permissions.moveNPC)) + if (!args.Player.Group.HasPermission(Permissions.movenpc)) { args.Player.SendMessage("You do not have permission to relocate NPCs.", Color.Red); return true; diff --git a/TShockAPI/Permissions.cs b/TShockAPI/Permissions.cs index 105f8464..973c3385 100644 --- a/TShockAPI/Permissions.cs +++ b/TShockAPI/Permissions.cs @@ -142,7 +142,7 @@ namespace TShockAPI public static readonly string hardmode; [Description("User can change the homes of NPCs.")] - public static readonly string moveNPC; + public static readonly string movenpc; static Permissions() {