Skip to content

Commit

Permalink
* Fixed boss lever
Browse files Browse the repository at this point in the history
  • Loading branch information
jprzimba committed Dec 23, 2024
1 parent 95781ee commit d128b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/libs/functions/boss_lever.lua
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ function BossLever:onUse(player)
end

local infoPositions = lever:getInfoPositions()
if creature:getGroup():getId() < GROUP_TYPE_GOD and isAccountNormal and self:lastEncounterTime(creature) > os.time() then
if creature:getGroup():getId() < GROUP_TYPE_GOD and checkAccountType and self:lastEncounterTime(creature) > os.time() then
for _, posInfo in pairs(infoPositions) do
local currentPlayer = posInfo.creature
if currentPlayer then
Expand Down

0 comments on commit d128b0a

Please sign in to comment.