Fix for adventurer blessing style
This commit is contained in:
parent
16f6a0019c
commit
50c36bb2ba
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue