From 6816158e8789104f2407b01677354904422c9025 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sun, 17 Sep 2017 21:11:50 +0100 Subject: [PATCH] tweak knockback --- api.lua | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/api.lua b/api.lua index 6c7c730..cc761a0 100644 --- a/api.lua +++ b/api.lua @@ -1,9 +1,9 @@ --- Mobs Api (15th September 2017) +-- Mobs Api (17th September 2017) mobs = {} mobs.mod = "redo" -mobs.version = "20170915" +mobs.version = "20170917" -- Intllib @@ -17,7 +17,7 @@ local use_cmi = minetest.global_exists("cmi") -- Invisibility mod check mobs.invis = {} -if rawget(_G, "invisibility") then +if minetest.global_exists("invisibility") then mobs.invis = invisibility end @@ -2547,10 +2547,6 @@ local mob_step = function(self, dtime) self.pause_timer = self.pause_timer - dtime - if self.pause_timer < 1 then - self.pause_timer = 0 - end - return end