Update init.lua

This commit is contained in:
Emojigit 2021-05-16 07:22:49 +08:00 committed by GitHub
parent e6cb0fdfcf
commit 5dc0c260f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -582,7 +582,7 @@ function doors.register_trapdoor(name, def)
def.paramtype = "light" def.paramtype = "light"
def.paramtype2 = "facedir" def.paramtype2 = "facedir"
def.is_ground_content = false def.is_ground_content = false
def.use_texture_alpha = "clip" def.use_texture_alpha = def.use_texture_alpha or "clip"
if def.protected then if def.protected then
def.can_dig = can_dig_door def.can_dig = can_dig_door