diff options
author | FaceDeer <derksenmobile@gmail.com> | 2017-10-24 21:16:37 -0600 |
---|---|---|
committer | FaceDeer <derksenmobile@gmail.com> | 2017-10-24 21:16:37 -0600 |
commit | a4b89dd76280879a6fca9f97d9e2d0b97718f60c (patch) | |
tree | 4b37e8099f2bf73c69207ae67cdad76ba674116d /nodes/node_battery_holder.lua | |
parent | 1224a3461569843534b275868f73af97d82559de (diff) |
add node_box definitions to fix inventory images
Diffstat (limited to 'nodes/node_battery_holder.lua')
-rw-r--r-- | nodes/node_battery_holder.lua | 6 |
1 files changed, 6 insertions, 0 deletions
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 = { |