Skip to content

Commit

Permalink
Fix for function call on the new trash boss segments cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed Jul 16, 2024
1 parent 1e0bb9a commit edfea88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions boot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion classes/container_segments.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit edfea88

Please sign in to comment.