summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-04-06 09:48:24 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2018-04-06 09:48:24 +0100
commit2f1ef11fa3e772ef3b556cc54d2d8f227551d0f5 (patch)
tree3c0719df99dc4f3c6876a773c12f2669f3c7a5bd
parent2418e2af21a3b1c1e4738b9a1bbd89469ee6665a (diff)
fix self.knock_back true error
-rw-r--r--api.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/api.lua b/api.lua
index b36d63e..6405f63 100644
--- a/api.lua
+++ b/api.lua
@@ -3,7 +3,7 @@
mobs = {}
mobs.mod = "redo"
-mobs.version = "20180331"
+mobs.version = "20180406"
-- Intllib
@@ -2395,7 +2395,7 @@ local mob_punch = function(self, hitter, tflp, tool_capabilities, dir)
end) ]]
-- knock back effect (only on full punch)
- if self.knock_back > 0
+ if self.knock_back
and tflp >= punch_interval then
local v = self.object:getvelocity()