Fix fill placing nodes below selected area

This commit is contained in:
Johannes Fritz 2023-01-03 07:42:52 -06:00
parent ff464ad5f6
commit 546c23f3db

View File

@ -598,7 +598,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
local itemstack = ItemStack(name) local itemstack = ItemStack(name)
pointed_thing.intersection_point = vector.new(x + 0.5, y, z + 0.5) pointed_thing.intersection_point = vector.new(x + 0.5, y, z + 0.5)
pointed_thing.above = pos pointed_thing.above = pos
pointed_thing.under = vector.new(x, y - 1, z) pointed_thing.under = pos
on_place(itemstack, player, pointed_thing) on_place(itemstack, player, pointed_thing)
end end
end end