From d9bf53b1e521e7c1b21650ca3fa2b4b32c8946b0 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Thu, 31 Dec 2015 15:34:22 +0000 Subject: [PATCH] Remove spam punch checks, was causing no drops --- api.lua | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/api.lua b/api.lua index 469134c..78d932a 100644 --- a/api.lua +++ b/api.lua @@ -1,4 +1,4 @@ --- Mobs Api (28th December 2015) +-- Mobs Api (31st December 2015) mobs = {} mobs.mod = "redo" @@ -1668,10 +1668,8 @@ minetest.register_entity(name, { on_punch = function(self, hitter, tflp, tool_capabilities, dir) - -- no punch punch spamming - if tflp < 0.45 then - return - end + -- no punch spamming + -- if tflp < 0.45 then return end -- weapon wear local weapon = hitter:get_wielded_item()