From d04f144b7ccffbc02901025914788058f0aeb07c Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Thu, 28 May 2020 16:21:20 +0100 Subject: [PATCH] revert previous nil punch to mob object --- api.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api.lua b/api.lua index c2b6d4d..678541a 100644 --- a/api.lua +++ b/api.lua @@ -6,7 +6,7 @@ local use_cmi = minetest.global_exists("cmi") mobs = { mod = "redo", - version = "20200527", + version = "20200528", intllib = S, invis = minetest.global_exists("invisibility") and invisibility or {} } @@ -1223,8 +1223,8 @@ local entity_physics = function(pos, radius) local ent = objs[n]:get_luaentity() -- punches work on entities AND players --- objs[n]:punch(objs[n], 1.0, { - objs[n]:punch(nil, 1.0, { + objs[n]:punch(objs[n], 1.0, { +-- objs[n]:punch(nil, 1.0, { full_punch_interval = 1.0, damage_groups = {fleshy = damage}, }, pos)