Update Fork #1

Merged
chmodsayshello merged 696 commits from MineClone5/MineClone5:master into master 2022-03-23 14:40:26 +01:00
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