From a4b89dd76280879a6fca9f97d9e2d0b97718f60c Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Tue, 24 Oct 2017 21:16:37 -0600 Subject: add node_box definitions to fix inventory images --- nodes/node_battery_holder.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'nodes/node_battery_holder.lua') diff --git a/nodes/node_battery_holder.lua b/nodes/node_battery_holder.lua index 56e0cd8..697beea 100644 --- a/nodes/node_battery_holder.lua +++ b/nodes/node_battery_holder.lua @@ -39,6 +39,12 @@ minetest.register_node("digtron:battery_holder", { sounds = digtron.metal_sounds, paramtype2= "facedir", drawtype = "nodebox", + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, paramtype = "light", is_ground_content = false, tiles = { -- cgit v1.2.3