mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 16:39:33 +01:00
Remove more uses of 3d_armor_trans.png
This commit is contained in:
parent
81ca7469d7
commit
023f70ee1c
2 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@ local function update_entity(pos)
|
||||||
object = minetest.add_entity(pos, "3d_armor_stand:armor_entity")
|
object = minetest.add_entity(pos, "3d_armor_stand:armor_entity")
|
||||||
end
|
end
|
||||||
if object then
|
if object then
|
||||||
local texture = "3d_armor_trans.png"
|
local texture = "blank.png"
|
||||||
local textures = {}
|
local textures = {}
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
local inv = meta:get_inventory()
|
local inv = meta:get_inventory()
|
||||||
|
@ -244,7 +244,7 @@ minetest.register_entity("3d_armor_stand:armor_entity", {
|
||||||
visual_size = {x=1, y=1},
|
visual_size = {x=1, y=1},
|
||||||
collisionbox = {-0.1,-0.4,-0.1, 0.1,1.3,0.1},
|
collisionbox = {-0.1,-0.4,-0.1, 0.1,1.3,0.1},
|
||||||
pointable = false,
|
pointable = false,
|
||||||
textures = {"3d_armor_trans.png"},
|
textures = {"blank.png"},
|
||||||
pos = nil,
|
pos = nil,
|
||||||
timer = 0,
|
timer = 0,
|
||||||
on_activate = function(self)
|
on_activate = function(self)
|
||||||
|
|
|
@ -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 = "blank.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
|
||||||
|
|
Loading…
Reference in a new issue