From 202ecfccaddf1f115c19aec81d3cdbe59573e91e Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sat, 30 Dec 2017 14:58:13 +0000 Subject: lower stepheight to fix entity glitching through walls --- warthog.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'warthog.lua') diff --git a/warthog.lua b/warthog.lua index 0afcc52..2f69a5b 100644 --- a/warthog.lua +++ b/warthog.lua @@ -5,6 +5,7 @@ local S = mobs.intllib -- Warthog by KrupnoPavel mobs:register_mob("mobs_animal:pumba", { +stepheight = 0.6, type = "animal", passive = false, attack_type = "dogfight", @@ -15,7 +16,7 @@ mobs:register_mob("mobs_animal:pumba", { hp_min = 5, hp_max = 15, armor = 200, - collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4}, + collisionbox = {-0.4, -0.01, -0.4, 0.4, 0.95, 0.4}, visual = "mesh", mesh = "mobs_pumba.x", textures = { -- cgit v1.2.3