Skip to content

Commit

Permalink
Fix seeds not growing with MTG farming
Browse files Browse the repository at this point in the history
  • Loading branch information
t-affeldt committed Oct 8, 2020
1 parent 949f4ba commit 64f8826
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ local function harvest_and_replant(pos, player)
else
-- plant seeds for MTG farming
minetest.set_node(pos, { name = seeds, param2 = 1 })
-- timer values taken from farming mod (see tick function in api.lua)
minetest.get_node_timer(pos):start(math.random(166, 286))
end
end)
return true
Expand Down
2 changes: 1 addition & 1 deletion mod.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = sickles
title = Scythes & Sickles
author = TestificateMods
release = 10300
release = 10301
description = """
Adds scythes and sickles with unique applications for farming.

Expand Down

0 comments on commit 64f8826

Please sign in to comment.