Test Pull Request #4

Closed
chmodsayshello wants to merge 718 commits from Lodestone into mcl_sus_stew
1 changed files with 5 additions and 0 deletions
Showing only changes of commit 7a1cdc89fb - Show all commits

View File

@ -43,6 +43,11 @@ mobs.float = function(self)
self.object:set_acceleration({x=0, y=0, z=0})
end
if self.jump_only then
self.object:set_acceleration({x=acceleration.x, y=-5, z=acceleration.z})
return
end
local current_velocity = self.object:get_velocity()
local new_velocity_addition = DEFAULT_FLOAT_SPEED - current_velocity.y