Fix door closing if dig opaque block next to it

This commit is contained in:
Wuzzy 2018-01-26 21:11:49 +01:00
parent 03b6c17f51
commit e8ebc537f0
5 changed files with 8 additions and 5 deletions

View file

@ -27,6 +27,7 @@ function mcl_doors:register_trapdoor(name, def)
if groups == nil then
groups = {}
end
groups.mesecon_ignore_opaque_dig = 1
if not def.sound_open then
def.sound_open = "doors_door_open"