projects
/
oweals
/
minetest_game.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make books writable
[oweals/minetest_game.git]
/
mods
/
default
/
functions.lua
diff --git
a/mods/default/functions.lua
b/mods/default/functions.lua
index cd4477b4138fd40f37ca997faf1dce39ebdfbb15..3525c1a8abdce3484d135a02bff3424d9bb36bde 100644
(file)
--- a/
mods/default/functions.lua
+++ b/
mods/default/functions.lua
@@
-124,7
+124,7
@@
minetest.register_abm({
--
function default.grow_cactus(pos, node)
- if node.param2
~= 0
then
+ if node.param2
>= 4
then
return
end
pos.y = pos.y-1