Quantcast

Fixed a typo in set bonus checking

Taracque [03-10-15 - 16:51]
Fixed a typo in set bonus checking
Filename
Elementarist.lua
diff --git a/Elementarist.lua b/Elementarist.lua
index 03cbbd3..bb6599a 100755
--- a/Elementarist.lua
+++ b/Elementarist.lua
@@ -183,7 +183,7 @@ function Elementarist.events.PLAYER_ALIVE()
 	-- check anything
 	Elementarist:detectTalent()
 	Elementarist:detectiLevel();
-	Elementarist.hasT17_4pcs = Elementaris.HasSetBonus( 165580, 4 );
+	Elementarist.hasT17_4pcs = Elementarist:HasSetBonus( 165580, 4 );
 	Elementarist:ApplySettings()

 	-- Elementarist.eventFrame:UnregisterEvent("PLAYER_ALIVE")
@@ -192,12 +192,12 @@ end
 function Elementarist.events.PLAYER_ENTERING_WORLD()
 	Elementarist:detectTalent();
 	Elementarist:detectiLevel();
-	Elementarist.hasT17_4pcs = Elementaris.HasSetBonus( 165580, 4 );
+	Elementarist.hasT17_4pcs = Elementarist:HasSetBonus( 165580, 4 );
 end

 function Elementarist.events.PLAYER_EQUIPMENT_CHANGED()
 	Elementarist:detectiLevel();
-	Elementarist.hasT17_4pcs = Elementaris.HasSetBonus( 165580, 4 );
+	Elementarist.hasT17_4pcs = Elementarist:HasSetBonus( 165580, 4 );
 end

 function Elementarist.events.PLAYER_LOGIN()