lowercased the permission

This commit is contained in:
Zack Piispanen 2011-12-10 20:04:29 -05:00
parent 04cdd56d13
commit e7563a591c
2 changed files with 2 additions and 2 deletions

View file

@ -763,7 +763,7 @@ namespace TShockAPI
private static bool UpdateNPCHome( GetDataHandlerArgs args ) 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); args.Player.SendMessage("You do not have permission to relocate NPCs.", Color.Red);
return true; return true;

View file

@ -142,7 +142,7 @@ namespace TShockAPI
public static readonly string hardmode; public static readonly string hardmode;
[Description("User can change the homes of NPCs.")] [Description("User can change the homes of NPCs.")]
public static readonly string moveNPC; public static readonly string movenpc;
static Permissions() static Permissions()
{ {