Skip to content

Commit

Permalink
logic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nandor committed Jan 10, 2024
1 parent 7d0a517 commit 558b8e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion class_configs/mag_class_config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ _ClassConfig = {
end,
handle_pet_toys = function(self)
if mq.TLO.Me.FreeInventory() < 2 or mq.TLO.Me.Level() < 73 then return false end
if (mq.TLO.Me.Pet.Equipment("Primary")()) or 0 ~= 0 then return false end
if (mq.TLO.Me.Pet.Equipment("Primary")() or 0) ~= 0 then return false end

if mq.TLO.Me.CombatState():lower() ~= "combat" then
return self.ClassConfig.HelperFunctions.give_pet_toys(self, mq.TLO.Me.Pet.ID())
Expand Down
2 changes: 1 addition & 1 deletion extras/version.lua
Original file line number Diff line number Diff line change
@@ -1 +1 @@
return { commitId = '0bd4355 2024-01-10' }
return { commitId = '7d0a517 2024-01-10' }

0 comments on commit 558b8e0

Please sign in to comment.