From e7563a591c02b3afec2c754fd9aa13e7481d79f4 Mon Sep 17 00:00:00 2001 From: Zack Piispanen Date: Sat, 10 Dec 2011 20:04:29 -0500 Subject: [PATCH] lowercased the permission --- TShockAPI/GetDataHandlers.cs | 2 +- TShockAPI/Permissions.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() {