From baba81eeb1efab5313d5fbeb949ecf1181185a50 Mon Sep 17 00:00:00 2001 From: bremaweb Date: Sat, 4 Apr 2015 22:09:56 -0400 Subject: Fix crash on nil note on landsale block --- landsale.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!") -- cgit v1.2.3