1
0
mirror of https://github.com/SmallJoker/bitchange.git synced 2025-07-20 09:00:24 +02:00

Donation box, a better saving, serval updates

This commit is contained in:
SmallJoker
2014-02-23 17:33:26 +01:00
parent f846f5624c
commit eec023f449
9 changed files with 115 additions and 7 deletions

View File

@ -90,6 +90,9 @@ minetest.register_on_player_receive_fields(function(sender, formname, fields)
local meta = minetest.get_meta(pos)
local title = meta:get_string("title") or ""
local shop_owner = meta:get_string("owner")
if(fields.quit) then
exchange_shop[player_name] = nil
end
if(fields.exchange) then
local player_inv = sender:get_inventory()