Fix seed and lumien achievements
This commit is contained in:
parent
4aaa26681b
commit
59864a8311
@ -73,10 +73,7 @@ function farming.place_plant(itemstack, placer, pointed_thing)
|
|||||||
|
|
||||||
if (group ~= nil and minetest.get_item_group(under.name, group) > 0) or
|
if (group ~= nil and minetest.get_item_group(under.name, group) > 0) or
|
||||||
(under.name == can_grow_on) then
|
(under.name == can_grow_on) then
|
||||||
minetest.set_node(pointed_thing.above, {name = itemstack:get_name()})
|
itemstack = minetest.item_place(itemstack, placer, pointed_thing)
|
||||||
|
|
||||||
itemstack:take_item()
|
|
||||||
|
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -202,7 +202,7 @@ achievements.register_achievement(
|
|||||||
title = S("Enlightened"),
|
title = S("Enlightened"),
|
||||||
description = S("Place 9 lumien crystals."),
|
description = S("Place 9 lumien crystals."),
|
||||||
times = 9,
|
times = 9,
|
||||||
placenode = "lumien:lumien_crystal_off",
|
placenode = "lumien:crystal_off",
|
||||||
})
|
})
|
||||||
|
|
||||||
default.log("mod:lumien", "loaded")
|
default.log("mod:lumien", "loaded")
|
||||||
|
Loading…
Reference in New Issue
Block a user