diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-04-13 13:13:20 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-04-13 13:13:20 -0400 |
commit | 897f9c6a6ade7c9b669cfeda7c7014179b2366ce (patch) | |
tree | 50a04bf067cfc248a9898c935aaf45f9ec68e77e /technic/machines/register | |
parent | 8a0fe4415489bbba122e9c19a4ed814496969fea (diff) | |
download | dreambuilder_modpack-897f9c6a6ade7c9b669cfeda7c7014179b2366ce.tar dreambuilder_modpack-897f9c6a6ade7c9b669cfeda7c7014179b2366ce.tar.gz dreambuilder_modpack-897f9c6a6ade7c9b669cfeda7c7014179b2366ce.tar.bz2 dreambuilder_modpack-897f9c6a6ade7c9b669cfeda7c7014179b2366ce.tar.xz dreambuilder_modpack-897f9c6a6ade7c9b669cfeda7c7014179b2366ce.zip |
update technic
Diffstat (limited to 'technic/machines/register')
-rw-r--r-- | technic/machines/register/battery_box.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |