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
1 changed files with 1 additions and 1 deletions

View File

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