Skip to content

Commit 90f24e3

Browse files
committedMay 21, 2016
Default: Remove unnecessary infotexts for chests and signs
1 parent e7a5573 commit 90f24e3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎mods/default/nodes.lua

-3
Original file line numberDiff line numberDiff line change
@@ -1447,7 +1447,6 @@ minetest.register_node("default:chest", {
14471447
on_construct = function(pos)
14481448
local meta = minetest.get_meta(pos)
14491449
meta:set_string("formspec", chest_formspec)
1450-
meta:set_string("infotext", "Chest")
14511450
local inv = meta:get_inventory()
14521451
inv:set_size("main", 8*4)
14531452
end,
@@ -1498,7 +1497,6 @@ minetest.register_node("default:chest_locked", {
14981497
end,
14991498
on_construct = function(pos)
15001499
local meta = minetest.get_meta(pos)
1501-
meta:set_string("infotext", "Locked Chest")
15021500
meta:set_string("owner", "")
15031501
local inv = meta:get_inventory()
15041502
inv:set_size("main", 8 * 4)
@@ -1636,7 +1634,6 @@ local function register_sign(material, desc, def)
16361634
--local n = minetest.get_node(pos)
16371635
local meta = minetest.get_meta(pos)
16381636
meta:set_string("formspec", "field[text;;${text}]")
1639-
meta:set_string("infotext", "\"\"")
16401637
end,
16411638
on_receive_fields = function(pos, formname, fields, sender)
16421639
--print("Sign at "..minetest.pos_to_string(pos).." got "..dump(fields))

0 commit comments

Comments
 (0)
Please sign in to comment.