From 3f7cd062c381eb4b83636f9e46aebfe58709a784 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 20 Sep 2019 20:56:20 +0200 Subject: [PATCH] Fix trapdoor infotext to correctly describe the type of trapdoor --- mods/doors/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/doors/init.lua b/mods/doors/init.lua index 6cc7d23f..85af0ef8 100644 --- a/mods/doors/init.lua +++ b/mods/doors/init.lua @@ -586,7 +586,7 @@ function doors.register_trapdoor(name, def) local pn = placer:get_player_name() local meta = minetest.get_meta(pos) meta:set_string("owner", pn) - meta:set_string("infotext", S("Steel Trapdoor") .. "\n" .. S("Owned by @1", pn)) + meta:set_string("infotext", def.description .. "\n" .. S("Owned by @1", pn)) return (creative and creative.is_enabled_for and creative.is_enabled_for(pn)) end -- 2.25.1