Farming: allow LBM's for other mods as well.
authorAuke Kok <sofar@foo-projects.org>
Sun, 29 May 2016 06:21:54 +0000 (23:21 -0700)
committerparamat <mat.gregory@virginmedia.com>
Sat, 4 Jun 2016 12:39:58 +0000 (13:39 +0100)
Fixes #1114

mods/farming/api.lua

index e25d5b916125339c9e50cce91452047c8ab96551..966910f6c2bfee5bb6d88f10fea396fa9e75a463 100644 (file)
@@ -350,7 +350,7 @@ farming.register_plant = function(name, def)
 
        -- replacement LBM for pre-nodetimer plants
        minetest.register_lbm({
-               name = "farming:start_nodetimer_" .. mname .. "_" .. pname,
+               name = ":" .. mname .. ":start_nodetimer_" .. pname,
                nodenames = lbm_nodes,
                action = function(pos, node)
                        tick_again(pos)