lowercased the permission
This commit is contained in:
parent
04cdd56d13
commit
e7563a591c
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue