From e50f2dfd1eec4923b3e32b414e5bcb040de3f10c Mon Sep 17 00:00:00 2001 From: k0rd Date: Thu, 12 Jun 2014 13:33:42 -0400 Subject: [PATCH] changing variable to be less ambiguous --- TShockAPI/Commands.cs | 2 +- TShockAPI/Permissions.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TShockAPI/Commands.cs b/TShockAPI/Commands.cs index fd12db84..d6dd1c9d 100755 --- a/TShockAPI/Commands.cs +++ b/TShockAPI/Commands.cs @@ -341,7 +341,7 @@ namespace TShockAPI { HelpText = "Kills hostile NPCs or NPCs of a certain type." }); - add(new Command(Permissions.rename, RenameNPC, "renamenpc") + add(new Command(Permissions.renamenpc, RenameNPC, "renamenpc") { HelpText = "Renames an NPC." }); diff --git a/TShockAPI/Permissions.cs b/TShockAPI/Permissions.cs index 8f0073e0..2de47323 100644 --- a/TShockAPI/Permissions.cs +++ b/TShockAPI/Permissions.cs @@ -174,7 +174,7 @@ namespace TShockAPI public static readonly string spawnboss = "tshock.npc.spawnboss"; [Description("User can rename NPCs.")] - public static readonly string rename = "tshock.npc.rename"; + public static readonly string renamenpc = "tshock.npc.rename"; [Description("User can spawn npcs.")] public static readonly string spawnmob = "tshock.npc.spawnmob";