diff PVPScan.lua @ 13:0d1a4acbe607

- toc update.
author Tercio
date Tue, 25 Oct 2016 16:25:50 -0200
parents 2218520e3e64
children 89fbbfa1b347
line wrap: on
line diff
--- a/PVPScan.lua	Tue Jul 19 13:25:56 2016 -0300
+++ b/PVPScan.lua	Tue Oct 25 16:25:50 2016 -0200
@@ -355,7 +355,8 @@
 		for i = 1, PVPScan.db.profile.SpotBarAmount do
 			local bar = PVPScan.SpotBars [i]
 			if (not bar) then
-				print (i, #PVPScan.SpotBars)
+				print ("PvPScan no bar for", i, #PVPScan.SpotBars)
+				return
 			end
 			if (not bar.InUse and bar.Cooldown < GetTime()) then
 				return bar