mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 01:29:21 +02:00
Fix for adventurer blessing style
This commit is contained in:
parent
16f6a0019c
commit
50c36bb2ba
@ -81,7 +81,7 @@ function refresh()
|
||||
else
|
||||
onInventoryChange(player, i, nil)
|
||||
end
|
||||
toggleAdventurerStyle(Bit.hasBit(player:getBlessings(), Blessings.Adventurer))
|
||||
toggleAdventurerStyle(player and Bit.hasBit(player:getBlessings(), Blessings.Adventurer) or false)
|
||||
end
|
||||
|
||||
purseButton:setVisible(g_game.getFeature(GamePurseSlot))
|
||||
|
Loading…
x
Reference in New Issue
Block a user