diff --git a/mods/farming/melon.lua b/mods/farming/melon.lua index 35324242cc..3dccfcf0e7 100644 --- a/mods/farming/melon.lua +++ b/mods/farming/melon.lua @@ -205,6 +205,7 @@ minetest.register_node("farming:melontige_linked_b", { minetest.register_craftitem("farming:melon_seed", { description = "Melon Seeds", stack_max = 64, + groups = { craftitem=1 }, inventory_image = "farming_melon_seed.png", on_place = function(itemstack, placer, pointed_thing) return farming:place_seed(itemstack, placer, pointed_thing, "farming:melontige_1") diff --git a/mods/farming/pumpkin.lua b/mods/farming/pumpkin.lua index 4350710a4a..4a2a6199c1 100644 --- a/mods/farming/pumpkin.lua +++ b/mods/farming/pumpkin.lua @@ -4,6 +4,7 @@ minetest.register_craftitem("farming:pumpkin_seed", { description = "Pumpkin Seed", stack_max = 64, inventory_image = "farming_pumpkin_seed.png", + groups = { craftitem=1 }, on_place = function(itemstack, placer, pointed_thing) local above = minetest.get_node(pointed_thing.above) if above.name == "air" then diff --git a/mods/farming/wheat.lua b/mods/farming/wheat.lua index a7a10990d1..5efa4305b2 100644 --- a/mods/farming/wheat.lua +++ b/mods/farming/wheat.lua @@ -1,5 +1,6 @@ minetest.register_craftitem("farming:wheat_seed", { description = "Wheat Seeds", + groups = { craftitem=1 }, inventory_image = "farming_wheat_seed.png", on_place = function(itemstack, placer, pointed_thing) return farming:place_seed(itemstack, placer, pointed_thing, "farming:wheat_1")