From dc9a6609e56d190c1900a1aa4c70dbda45c47072 Mon Sep 17 00:00:00 2001 From: NO11 Date: Sun, 16 May 2021 16:33:29 +0000 Subject: [PATCH] Fix flying dolphin (extra_mobs) --- mods/ENTITIES/extra_mobs/dolphin.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mods/ENTITIES/extra_mobs/dolphin.lua b/mods/ENTITIES/extra_mobs/dolphin.lua index 467cf4017..11cafff70 100644 --- a/mods/ENTITIES/extra_mobs/dolphin.lua +++ b/mods/ENTITIES/extra_mobs/dolphin.lua @@ -39,8 +39,10 @@ local dolphin = { xp_min = 1, xp_max = 3, armor = 100, - walk_chance = 100, - breath_max = 120, + walk_chance = 100, + breath_max = 120, + rotate = 270, + tilt_swim = true, collisionbox = {-0.3, 0.0, -0.3, 0.3, 0.79, 0.3}, visual = "mesh", mesh = "extra_mobs_dolphin.b3d", @@ -65,8 +67,7 @@ local dolphin = { }, visual_size = {x=3, y=3}, makes_footstep_sound = false, - fly = true, - fly_in = { mobs_mc.items.water_source, mobs_mc.items.river_water_source }, + swim = true, breathes_in_water = true, jump = false, view_range = 16,