diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-11-02 12:54:33 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-11-02 12:54:33 +0000 |
commit | 897f4a547e1cf8994b7a354c3c7fe4b2b5d21a57 (patch) | |
tree | 7518dcc98cb00226e686d278775ae52bd0d1fc47 | |
parent | df63a37b086dc21a3bafc3c9034d3ee763d6e513 (diff) |
reduce knockback on normal tools without actual settingHEADorigin/masterorigin/HEADmaster
-rw-r--r-- | api.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2592,7 +2592,7 @@ local mob_punch = function(self, hitter, tflp, tool_capabilities, dir) dir = dir or {x = 0, y = 0, z = 0} -- use tool knockback value or default - kb = tool_capabilities.damage_groups["knockback"] or (kb * 1.5) + kb = tool_capabilities.damage_groups["knockback"] or kb -- (kb * 1.5) self.object:set_velocity({ x = dir.x * kb, |