diff options
Diffstat (limited to 'landsale.lua')
-rw-r--r-- | landsale.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/landsale.lua b/landsale.lua index 245f5dd..1867b98 100644 --- a/landsale.lua +++ b/landsale.lua @@ -41,6 +41,11 @@ minetest.register_node("landrush:sale_block",{ landrush.save_claims() minetest.chat_send_player(claims[chunk].owner, "You now own this claim.") minetest.remove_node(pos) + + if ( chatplus ) then + table.insert(chatplus.players[owner].messages,"mail from <LandRush>: "..name.." has bought your claim at "..minetest.pos_to_string(pos).." for "..tostring(price)) + end + else minetest.chat_send_player(name,"Money transfer failed: "..transfer) end |