Register only locked nodes as stoppers

This was suggested here:
https://github.com/Jeija/minetest-mod-mesecons/pull/216
This commit is contained in:
MT-Modder 2015-02-13 23:58:36 -05:00
parent 8bf5b7d0e4
commit 6d9f44455c

@ -231,7 +231,8 @@ function mesecon.mvps_move_objects(pos, dir, nodestack)
end end
end end
mesecon.register_mvps_stopper("doors:door_steel_b_1")
mesecon.register_mvps_stopper("doors:door_steel_t_1")
mesecon.register_mvps_stopper("doors:door_steel_b_2")
mesecon.register_mvps_stopper("doors:door_steel_t_2")
mesecon.register_mvps_stopper("default:chest_locked") mesecon.register_mvps_stopper("default:chest_locked")
mesecon.register_mvps_stopper("default:chest")
mesecon.register_mvps_stopper("default:bookshelf")
mesecon.register_mvps_stopper("default:furnace")