forked from thunderdog1138/star_wars
Update 'mods/minetest-3d_armor/wieldview/init.lua'
This commit is contained in:
parent
d90cb2c727
commit
ce77a9ea3e
|
@ -18,7 +18,7 @@ wieldview = {
|
||||||
dofile(minetest.get_modpath(minetest.get_current_modname()).."/transform.lua")
|
dofile(minetest.get_modpath(minetest.get_current_modname()).."/transform.lua")
|
||||||
|
|
||||||
wieldview.get_item_texture = function(self, item)
|
wieldview.get_item_texture = function(self, item)
|
||||||
local texture = "3d_armor_trans.png"
|
local texture = "trans.png"
|
||||||
if item ~= "" then
|
if item ~= "" then
|
||||||
if minetest.registered_items[item] then
|
if minetest.registered_items[item] then
|
||||||
if minetest.registered_items[item].inventory_image ~= "" then
|
if minetest.registered_items[item].inventory_image ~= "" then
|
||||||
|
@ -80,4 +80,3 @@ minetest.register_globalstep(function(dtime)
|
||||||
time = 0
|
time = 0
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue