fix conflict with Lazy Writ
Leandro Silva [04-04-20 - 14:59]
fix conflict with Lazy Writ
diff --git a/LeoTrainer.lua b/LeoTrainer.lua
index 9217a67..dd9de92 100644
--- a/LeoTrainer.lua
+++ b/LeoTrainer.lua
@@ -114,6 +114,7 @@ end
function LeoTrainer.stationExit(_, craftSkill)
EVENT_MANAGER:UnregisterForEvent(LeoTrainer.name, EVENT_CRAFT_COMPLETED)
if WritCreater then
+ EVENT_MANAGER:UnregisterForEvent(WritCreater.name, EVENT_CRAFTING_STATION_INTERACT)
EVENT_MANAGER:UnregisterForEvent(WritCreater.name, EVENT_CRAFT_COMPLETED)
end
diff --git a/LeoTrainer.txt b/LeoTrainer.txt
index e44724e..8d8d5a1 100644
--- a/LeoTrainer.txt
+++ b/LeoTrainer.txt
@@ -1,7 +1,7 @@
## Title: Leo's Trainer
## APIVersion: 100030
-## Version: 2.0.2
-## AddOnVersion: 202
+## Version: 2.0.3
+## AddOnVersion: 203
## Author: |c39B027@LeandroSilva|r
## SavedVariables: LeoTrainer_Settings LeoTrainer_Data
## OptionalDependsOn: FCOItemSaver PersonalAssistant DolgubonsLazyWritCreator
diff --git a/LeoTrainerConst.lua b/LeoTrainerConst.lua
index 0fd8650..8eeefce 100644
--- a/LeoTrainerConst.lua
+++ b/LeoTrainerConst.lua
@@ -8,7 +8,7 @@ LeoTrainer = {
}
LeoTrainer.name = "LeoTrainer"
LeoTrainer.displayName = "Leo's Trainer"
-LeoTrainer.version = "2.0.2"
+LeoTrainer.version = "2.0.3"
LeoTrainer.chatPrefix = "|c39B027" .. LeoTrainer.name .. "|r: "
LeoTrainer.setting = nil
LeoTrainer.hidden = true