2.5.1 exception fix
git [06-02-18 - 13:27]
diff --git a/FurnitureCatalogue.txt b/FurnitureCatalogue.txt
index ba1b680..4bf122f 100644
--- a/FurnitureCatalogue.txt
+++ b/FurnitureCatalogue.txt
@@ -1,6 +1,6 @@
## Title: FurnitureCatalogue
## Author: manavortex
-## Version: 2.5.0
+## Version: 2.5.1
## APIVersion: 100023
## SavedVariables: FurnitureCatalogue_Settings
## OptionalDependsOn: pChat
diff --git a/FurnitureCatalogue_DevUtility/ContextMenu.lua b/FurnitureCatalogue_DevUtility/ContextMenu.lua
index 463ebfc..31e36a0 100644
--- a/FurnitureCatalogue_DevUtility/ContextMenu.lua
+++ b/FurnitureCatalogue_DevUtility/ContextMenu.lua
@@ -1,5 +1,15 @@
+local UNITTAG_PLAYER = "player"
+local function whoami()
+ return GetUnitDisplayName(UNITTAG_PLAYER)
+end
+
+local isMana = string.find(whoami(), "@manavortex") or string.find(whoami(), "@Manorin")
+if not isMana then return end
+
+
+
FurCDevControl_LinkHandlerBackup_OnLinkMouseUp = nil
-local this = FurCDevUtility
+local this = FurCDevUtility or {}
this.textbox = this.textbox or FurCDevControlBox
local textbox = this.textbox
diff --git a/startup.lua b/startup.lua
index 74fd646..fe8bbf1 100644
--- a/startup.lua
+++ b/startup.lua
@@ -1,7 +1,7 @@
FurnitureCatalogue = {}
FurnitureCatalogue.name = "FurnitureCatalogue"
FurnitureCatalogue.author = "manavortex"
-FurnitureCatalogue.version = "2.5.0"
+FurnitureCatalogue.version = "2.5.1"
FurnitureCatalogue.CharacterName = nil
FurnitureCatalogue.settings = {}