diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2017-07-17 10:52:22 +0200 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2017-07-17 10:52:22 +0200 |
commit | b0667f1389d0d6db3b01525343daf90c4e996cf0 (patch) | |
tree | 4046f3d956c4492bb11d3f7c421cb5142d811587 | |
parent | 72aa634181be2cffcb75604dc41522df74272871 (diff) |
-rw-r--r-- | init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -61,6 +61,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields) end if fields.unrent then local pos = minetest.string_to_pos(formname:sub(17)) + local meta = minetest.get_meta(pos) local inv = meta:get_inventory() if inv:is_empty("mailbox") then mailbox.unrent(pos, player) |