Added support for tekDebug
Xruptor [07-24-16 - 20:53]
Added support for tekDebug
diff --git a/xanMortarPestle.lua b/xanMortarPestle.lua
index ed11d89..6f72d47 100644
--- a/xanMortarPestle.lua
+++ b/xanMortarPestle.lua
@@ -11,6 +11,11 @@ local colors = {
[1804] = {r=200/255, g=75/255, b=75/255}, --lock picking (Thanks to kaisoul)
}
+local debugf = tekDebug and tekDebug:GetFrame("xanMortarPestle")
+local function Debug(...)
+ if debugf then debugf:AddMessage(string.join(", ", tostringall(...))) end
+end
+
--[[------------------------
LOCALIZATION
--------------------------]]
diff --git a/xanMortarPestle.toc b/xanMortarPestle.toc
index dcf206b..9451d44 100644
--- a/xanMortarPestle.toc
+++ b/xanMortarPestle.toc
@@ -3,6 +3,7 @@
## Notes: Mill/Prospect/Disenchant using (Alt + Right-Click) on an item.
## Author: Xruptor
## Version: 3.0
+## OptionalDeps: tekDebug
## SavedVariables: XMP_DB
xanMortarPestle.lua