mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-23 06:32:25 +01:00
parent
7488f483c7
commit
9542d119f6
@ -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…
Reference in New Issue
Block a user