mirror of
https://github.com/mt-mods/signs_lib.git
synced 2024-12-25 16:50:17 +01:00
fix minor global warning
This commit is contained in:
parent
4b2abfadce
commit
2d29a539f8
2
api.lua
2
api.lua
@ -532,7 +532,7 @@ function signs_lib.update_sign(pos, fields)
|
|||||||
text = trim_input(text)
|
text = trim_input(text)
|
||||||
|
|
||||||
local owner = meta:get_string("owner")
|
local owner = meta:get_string("owner")
|
||||||
ownstr = ""
|
local ownstr = ""
|
||||||
if owner ~= "" then ownstr = S("Locked sign, owned by @1\n", owner) end
|
if owner ~= "" then ownstr = S("Locked sign, owned by @1\n", owner) end
|
||||||
|
|
||||||
meta:set_string("text", text)
|
meta:set_string("text", text)
|
||||||
|
Loading…
Reference in New Issue
Block a user