Fix sometimes untranslated locked chest infotext
This commit is contained in:
parent
556a30b20d
commit
b80bc6f5ca
@ -268,7 +268,7 @@ minetest.register_node(
|
||||
meta:set_int("lock_cracked", 0)
|
||||
local owner = meta:get_string("lock_owner")
|
||||
if owner == "" then
|
||||
meta:set_string("infotext", INFOTEXT_PUBLIC)
|
||||
meta:set_string("infotext", S(INFOTEXT_PUBLIC))
|
||||
else
|
||||
meta:set_string("infotext", S(INFOTEXT_OWNED, owner))
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user