mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-06-04 21:10:04 -04:00
parent
0472e61a9d
commit
598cdadef6
1 changed files with 1 additions and 4 deletions
|
@ -467,10 +467,7 @@ function doors.register_trapdoor(name, def)
|
|||
meta:set_string("doors_owner", pn)
|
||||
meta:set_string("infotext", "Owned by "..pn)
|
||||
|
||||
if not minetest.setting_getbool("creative_mode") then
|
||||
return true
|
||||
end
|
||||
return false
|
||||
return minetest.setting_getbool("creative_mode")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue