diff --git a/mods/PLAYER/wieldview/init.lua b/mods/PLAYER/wieldview/init.lua index ecbb2dc0b7..7835cc38f3 100644 --- a/mods/PLAYER/wieldview/init.lua +++ b/mods/PLAYER/wieldview/init.lua @@ -57,6 +57,9 @@ wieldview.update_wielded_item = function(self, player) if self.wielded_item[name] == item then return end + if not armor.textures[name] then + return + end armor.textures[name].wielditem = self:get_item_texture(item) armor:update_player_visuals(player) end