diff options
author | Jeija <norrepli@gmail.com> | 2012-08-13 13:12:19 +0200 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2012-08-13 13:12:19 +0200 |
commit | b197d29bef365947d0f288287ebaf09fab07cd86 (patch) | |
tree | 63e5221e5e66b5349ef0c1f083cc72211a18580d /mesecons_powerplant | |
parent | 987de2c7d5df3a389234b0122406afaaa3b1fafe (diff) |
Code cleanup, little bugfix (some conductors placed next to receptors didn't turn on)
Diffstat (limited to 'mesecons_powerplant')
-rw-r--r-- | mesecons_powerplant/init.lua | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/mesecons_powerplant/init.lua b/mesecons_powerplant/init.lua index d32e838..bd94272 100644 --- a/mesecons_powerplant/init.lua +++ b/mesecons_powerplant/init.lua @@ -10,12 +10,6 @@ minetest.register_node("mesecons_powerplant:power_plant", { groups = {dig_immediate=3, mesecon = 2}, light_source = LIGHT_MAX-9, description="Power Plant", - after_place_node = function(pos) - mesecon:receptor_on(pos) - end, - after_dig_node = function(pos) - mesecon:receptor_off(pos) - end, selection_box = { type = "fixed", fixed = {-0.1, -0.5, -0.1, 0.1, -0.5+0.6, 0.1}, |