diff options
author | jingkaimori <jingkaimori@gmail.com> | 2021-11-10 20:40:33 +0800 |
---|---|---|
committer | jingkaimori <jingkaimori@gmail.com> | 2021-11-10 20:40:33 +0800 |
commit | 6539850c0562eab3ecc8ab7a4079c9c22f58122b (patch) | |
tree | ae405f9a94eddaab5a8f3321bb7550c7a54ec01e /init.lua | |
parent | 573c992ba46269c7c04ca0b0e7d094f9e8804096 (diff) | |
download | smartshop-6539850c0562eab3ecc8ab7a4079c9c22f58122b.tar.gz smartshop-6539850c0562eab3ecc8ab7a4079c9c22f58122b.tar.bz2 smartshop-6539850c0562eab3ecc8ab7a4079c9c22f58122b.zip |
document and clean-up
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -479,7 +479,6 @@ minetest.register_node("smartshop:shop", { if type(current_offer)=='table' and current_offer.give and current_offer.pay then local give_item = ItemStack(current_offer.give); local pay_item = ItemStack(current_offer.pay); - print(give_item:get_name()) if minetest.registered_items[give_item:get_name()] and minetest.registered_items[pay_item:get_name()] then if type(current_offer.give_count) == "number" then give_item:set_count(math.floor(current_offer.give_count)) @@ -494,14 +493,6 @@ minetest.register_node("smartshop:shop", { end end end - - -- if event.type == 'digiline' then - -- print(event.channel) - -- print(event.msg) - -- else - -- digiline.send('b',{type='ask'}); - - -- end end } }, |