Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix door infotext to correctly describe the type of door
  • Loading branch information
sfan5 committed Sep 20, 2019
1 parent 00f9287 commit 09bed49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/doors/init.lua
Expand Up @@ -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
Expand Down

0 comments on commit 09bed49

Please sign in to comment.