Fix door infotext to correctly describe the type of door

This commit is contained in:
sfan5 2019-09-20 20:10:58 +02:00 committed by GitHub
parent 00f9287075
commit 09bed49b5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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