Prevent beds from appearing and disappearing if they cannot be placed, fix #1419

This commit is contained in:
ArTee3 2021-03-29 18:13:10 +02:00
parent d1a0299b92
commit 1b9737b431

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