mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 15:26:49 +01:00
Fix for adventurer blessing style
This commit is contained in:
@@ -81,7 +81,7 @@ function refresh()
|
|||||||
else
|
else
|
||||||
onInventoryChange(player, i, nil)
|
onInventoryChange(player, i, nil)
|
||||||
end
|
end
|
||||||
toggleAdventurerStyle(Bit.hasBit(player:getBlessings(), Blessings.Adventurer))
|
toggleAdventurerStyle(player and Bit.hasBit(player:getBlessings(), Blessings.Adventurer) or false)
|
||||||
end
|
end
|
||||||
|
|
||||||
purseButton:setVisible(g_game.getFeature(GamePurseSlot))
|
purseButton:setVisible(g_game.getFeature(GamePurseSlot))
|
||||||
|
|||||||
Reference in New Issue
Block a user