Browse Source

Fix for adventurer blessing style

TheSumm 6 years ago
parent
commit
50c36bb2ba
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      modules/game_inventory/inventory.lua

+ 1
- 1
modules/game_inventory/inventory.lua View File

@@ -81,7 +81,7 @@ function refresh()
81 81
     else
82 82
       onInventoryChange(player, i, nil)
83 83
     end
84
-    toggleAdventurerStyle(Bit.hasBit(player:getBlessings(), Blessings.Adventurer))
84
+    toggleAdventurerStyle(player and Bit.hasBit(player:getBlessings(), Blessings.Adventurer) or false)
85 85
   end
86 86
 
87 87
   purseButton:setVisible(g_game.getFeature(GamePurseSlot))

Loading…
Cancel
Save