mirror of
https://codeberg.org/tenplus1/farming.git
synced 2025-06-29 23:01:00 +02:00
use farming seed placer function
This commit is contained in:
@ -15,9 +15,9 @@ minetest.register_node("farming:seed_barley", {
|
||||
sunlight_propagates = true,
|
||||
next_plant = "farming:barley_1",
|
||||
selection_box = farming.select,
|
||||
-- on_place = function(itemstack, placer, pointed_thing)
|
||||
-- return farming.place_seed(itemstack, placer, pointed_thing, "farming:barley_1")
|
||||
-- end
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return farming.place_seed(itemstack, placer, pointed_thing, "farming:seed_barley")
|
||||
end
|
||||
})
|
||||
|
||||
-- harvested barley
|
||||
|
Reference in New Issue
Block a user