projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6386684
)
Farming: allow LBM's for other mods as well.
author
Auke Kok
<sofar@foo-projects.org>
Sun, 29 May 2016 06:21:54 +0000
(23:21 -0700)
committer
paramat
<mat.gregory@virginmedia.com>
Sat, 4 Jun 2016 12:39:58 +0000
(13:39 +0100)
Fixes #1114
mods/farming/api.lua
patch
|
blob
|
history
diff --git
a/mods/farming/api.lua
b/mods/farming/api.lua
index e25d5b916125339c9e50cce91452047c8ab96551..966910f6c2bfee5bb6d88f10fea396fa9e75a463 100644
(file)
--- a/
mods/farming/api.lua
+++ b/
mods/farming/api.lua
@@
-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)