Give mobs more room to judge a jump

This commit is contained in:
epCode 2022-10-25 18:52:51 +00:00
parent b89a9375da
commit 70beaf6b3d
1 changed files with 2 additions and 2 deletions

View File

@ -1429,8 +1429,8 @@ local do_jump = function(self)
end
-- where is front
local dir_x = -sin(yaw) * (self.collisionbox[4] + 0.5)*jump_c_multiplier+.4
local dir_z = cos(yaw) * (self.collisionbox[4] + 0.5)*jump_c_multiplier+.4
local dir_x = -sin(yaw) * (self.collisionbox[4] + 0.5)*jump_c_multiplier+0.6
local dir_z = cos(yaw) * (self.collisionbox[4] + 0.5)*jump_c_multiplier+0.6
-- what is in front of mob?
nod = node_ok({