forked from MineClone5/MineClone5
Fix formatting in ai.lua
This commit is contained in:
parent
ce7f4918b0
commit
9d6d042ee3
|
@ -23,11 +23,8 @@ local cliff_check = function(self,dtime)
|
|||
end
|
||||
|
||||
local pos = self.object:get_pos()
|
||||
|
||||
local dir = minetest_yaw_to_dir(self.yaw)
|
||||
|
||||
local collisionbox = self.object:get_properties().collisionbox
|
||||
|
||||
local radius = collisionbox[4] + 0.5
|
||||
|
||||
dir = vector_multiply(dir,radius)
|
||||
|
|
Loading…
Reference in New Issue