summaryrefslogtreecommitdiff
path: root/nodes/node_crate.lua
diff options
context:
space:
mode:
authorroot <root@linux-forks.de>2018-09-14 16:57:17 +0200
committerroot <root@linux-forks.de>2018-09-14 16:57:17 +0200
commit76f723270ef58c236a6fd78a0c6aef53997582f7 (patch)
tree2122d0d093608f994f1f6c5ad444a342959dd18a /nodes/node_crate.lua
parent1bf8cf53732b59835f7b121447386f06259fdc30 (diff)
parentd3397563ec29b193aa2bfd720da1a4aba34304d3 (diff)
Merge branch 'master' of https://github.com/minetest-mods/digtron
Diffstat (limited to 'nodes/node_crate.lua')
-rw-r--r--nodes/node_crate.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/nodes/node_crate.lua b/nodes/node_crate.lua
index 4073993..ae3bffa 100644
--- a/nodes/node_crate.lua
+++ b/nodes/node_crate.lua
@@ -182,6 +182,7 @@ local loaded_on_recieve = function(pos, fields, sender, protected)
meta:set_string("title", minetest.formspec_escape(fields.title))
end
local title = meta:get_string("title")
+ local infotext
if protected then
infotext = title .. "\n" .. S("Owned by @1", sender:get_player_name())