Fix door infotext to correctly describe the type of door
This commit is contained in:
parent
00f9287075
commit
09bed49b5a
|
@ -333,7 +333,7 @@ function doors.register(name, def)
|
|||
|
||||
if def.protected then
|
||||
meta:set_string("owner", pn)
|
||||
meta:set_string("infotext", S("Steel Door") .. "\n" .. S("Owned by @1", pn))
|
||||
meta:set_string("infotext", def.description .. "\n" .. S("Owned by @1", pn))
|
||||
end
|
||||
|
||||
if not (creative and creative.is_enabled_for and creative.is_enabled_for(pn)) then
|
||||
|
|
Loading…
Reference in New Issue