Quantcast

Lua != C#.....

Jesse Manelius [08-07-18 - 20:16]
Lua != C#.....
Filename
iKeystones.lua
iKeystones.toc
diff --git a/iKeystones.lua b/iKeystones.lua
index 65e09b3..703b4b2 100644
--- a/iKeystones.lua
+++ b/iKeystones.lua
@@ -231,8 +231,9 @@ function iKS:scanInventory(requestingSlots, requestingItemLink)
 		['map'] = _map,
 		['level'] = _level,
 	}
-	if iKS.keyLevel and iKS.keyLevel < _level or not iKS.keyLevel then
-		local itemLink = iKS.getKeystoneLink(_level, _map)
+	print("InventoryScan - Map:", _map, " Level:", _level)
+	if (iKS.keyLevel and iKS.keyLevel < _level) or not iKS.keyLevel then
+		local itemLink = iKS:getKeystoneLink(_level, _map)
 		print('iKS: New keystone - ' .. itemLink)
 	end
 	iKS.keyLevel = _level
diff --git a/iKeystones.toc b/iKeystones.toc
index 5ba9328..470c115 100644
--- a/iKeystones.toc
+++ b/iKeystones.toc
@@ -2,7 +2,7 @@
 ## Title: iKeystones
 ## Notes: Tracks your keystones
 ## Author: Ironi
-## Version: 1.703
+## Version: 1.704
 ## DefaultState: enabled

 ## SavedVariables: iKeystonesDB, iKeystonesConfig