Fix seed and lumien achievements

This commit is contained in:
Wuzzy 2019-09-03 19:34:50 +02:00
parent 4aaa26681b
commit 59864a8311
2 changed files with 2 additions and 5 deletions

View File

@ -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

View File

@ -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")