summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbremaweb <brandon@bremaweb.com>2015-04-04 22:09:56 -0400
committerbremaweb <brandon@bremaweb.com>2015-04-04 22:09:56 -0400
commitbaba81eeb1efab5313d5fbeb949ecf1181185a50 (patch)
tree820c2125aea396c2badb225f96207d8cfbc9e9a4
parent01f21dfe0802e5be975b3d239a853eac8aeef672 (diff)
Fix crash on nil note on landsale block
-rw-r--r--landsale.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/landsale.lua b/landsale.lua
index 96bc273..e0cdc72 100644
--- a/landsale.lua
+++ b/landsale.lua
@@ -63,7 +63,7 @@ minetest.register_node("landrush:sale_block",{
local meta = minetest.get_meta(pos)
meta:set_int("price",fields.price)
meta:set_string("note",fields.note)
- meta:set_string("infotext","For sale by "..owner.." for " .. tostring(fields.price) .." "..fields.note)
+ meta:set_string("infotext","For sale by "..owner.." for " .. tostring(fields.price) .." "..tostring(fields.note))
meta:set_string("formspec",landrush.sell_formspec(pos,sender))
else
minetest.chat_send_player(name,"You can't configure this sale!")