Merge pull request 'Prevent beds from appearing and disappearing if they cannot be placed, fix #1419' (#1423) from ArTee3/MineClone2:fix-bed-placement into master

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1423
This commit is contained in:
Elias Fleckenstein 2021-03-29 16:23:45 +00:00
commit 68d49a43b2
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@ function mcl_beds.register_bed(name, def)
selection_box = selection_box_bottom,
collision_box = collision_box_bottom,
drop = "",
node_placement_prediction = "",
on_place = function(itemstack, placer, pointed_thing)
local under = pointed_thing.under