From edfea880a6a6f8fdf624918e1e64c20be241c080 Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Tue, 16 Jul 2024 11:11:46 -0300 Subject: [PATCH] Fix for function call on the new trash boss segments cleanup --- boot.lua | 4 ++-- classes/container_segments.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/boot.lua b/boot.lua index d6a1c3ba0..bd8e828d2 100644 --- a/boot.lua +++ b/boot.lua @@ -19,8 +19,8 @@ local addonName, Details222 = ... local version, build, date, tvs = GetBuildInfo() - Details.build_counter = 12809 - Details.alpha_build_counter = 12809 --if this is higher than the regular counter, use it instead + Details.build_counter = 12810 + Details.alpha_build_counter = 12810 --if this is higher than the regular counter, use it instead Details.dont_open_news = true Details.game_version = version Details.userversion = version .. " " .. Details.build_counter diff --git a/classes/container_segments.lua b/classes/container_segments.lua index 6af16754a..18bf9a870 100644 --- a/classes/container_segments.lua +++ b/classes/container_segments.lua @@ -579,7 +579,7 @@ function Details222.Combat.AddCombat(combatToBeAdded) --is the wipe counter saved in the details database? if (IsInRaid() and Details.zone_type == "raid") then --filter only for raids - local bRunOkay2, result = getAmountOfSegmentsInThisBoss(combatToBeAdded) + local bRunOkay2, result = pcall(getAmountOfSegmentsInThisBoss, combatToBeAdded) if (not bRunOkay2) then Details:Msg("bRunOkay2 Error > failed to get amount of segments in this boss > ", result) else