diff options
-rw-r--r-- | concrete/init.lua | 4 | ||||
-rw-r--r-- | technic/machines/register/battery_box.lua | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/concrete/init.lua b/concrete/init.lua index 66564ba..ca04733 100644 --- a/concrete/init.lua +++ b/concrete/init.lua @@ -94,9 +94,9 @@ minetest.register_node(":technic:blast_resistant_concrete", { local box_platform = {-0.5, 0.3, -0.5, 0.5, 0.5, 0.5} local box_post = {-0.15, -0.5, -0.15, 0.15, 0.5, 0.15} -local box_front = {-0.1, -0.3, 0, 0.1, 0.3, -0.5} +local box_front = {-0.1, -0.3, -0.5, 0.1, 0.3, 0} local box_back = {-0.1, -0.3, 0, 0.1, 0.3, 0.5} -local box_left = {0, -0.3, -0.1, -0.5, 0.3, 0.1} +local box_left = {-0.5, -0.3, -0.1, 0, 0.3, 0.1} local box_right = {0, -0.3, -0.1, 0.5, 0.3, 0.1} minetest.register_node(":technic:concrete_post_platform", { diff --git a/technic/machines/register/battery_box.lua b/technic/machines/register/battery_box.lua index 5b298a7..a729a31 100644 --- a/technic/machines/register/battery_box.lua +++ b/technic/machines/register/battery_box.lua @@ -136,7 +136,7 @@ function technic.register_battery_box(data) local below = minetest.get_node({x=pos.x, y=pos.y-1, z=pos.z}) local meta = minetest.get_meta(pos) - if below.name ~= "technic:"..ltier.."_cable" then + if technic.is_tier_cable(below.tier, tier) then meta:set_string("infotext", S("%s Battery Box Has No Network"):format(tier)) return end |