Update 'mods/minetest-3d_armor/wieldview/init.lua'

This commit is contained in:
thunderdog1138 2020-07-23 17:27:55 +00:00
parent d90cb2c727
commit ce77a9ea3e
1 changed files with 2 additions and 3 deletions

View File

@ -18,7 +18,7 @@ wieldview = {
dofile(minetest.get_modpath(minetest.get_current_modname()).."/transform.lua")
wieldview.get_item_texture = function(self, item)
local texture = "3d_armor_trans.png"
local texture = "trans.png"
if item ~= "" then
if minetest.registered_items[item] then
if minetest.registered_items[item].inventory_image ~= "" then
@ -79,5 +79,4 @@ minetest.register_globalstep(function(dtime)
end
time = 0
end
end)
end)