From ec93f7bf57b47fe430064841bca5c0e7bcfcf5c6 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 18 Feb 2017 16:14:31 +0100 Subject: [PATCH] Cocoas: remove refill --- mods/ITEMS/mcl_cocoas/init.lua | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/mods/ITEMS/mcl_cocoas/init.lua b/mods/ITEMS/mcl_cocoas/init.lua index f6586ebfcc..15b8ce818a 100644 --- a/mods/ITEMS/mcl_cocoas/init.lua +++ b/mods/ITEMS/mcl_cocoas/init.lua @@ -36,19 +36,7 @@ function mcl_cocoas.place_cocoa(itemstack, placer, pointed_thing, plantname) minetest.sound_play("default_place_node", {pos = pt.above, gain = 1.0}) if not minetest.setting_getbool("creative_mode") then - itemstack:take_item() - - -- check for refill - if itemstack:get_count() == 0 then - - minetest.after(0.20, - farming.refill_plant, - placer, - "mcl_dye:brown", - placer:get_wield_index() - ) - end end return itemstack