projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09bed49
)
Fix trapdoor infotext to correctly describe the type of trapdoor
author
sfan5
<sfan5@live.de>
Fri, 20 Sep 2019 18:56:20 +0000
(20:56 +0200)
committer
GitHub
<noreply@github.com>
Fri, 20 Sep 2019 18:56:20 +0000
(20:56 +0200)
mods/doors/init.lua
patch
|
blob
|
history
diff --git
a/mods/doors/init.lua
b/mods/doors/init.lua
index 6cc7d23f05d3fc0a4110bdd600f73d115b109195..85af0ef81d5fcc6860aa7909223f24d38e06166c 100644
(file)
--- 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