This commit is contained in:
Kindaglia 2025-04-25 14:53:53 +02:00
parent 9df0d6cee5
commit a4ba22b9ef

View File

@ -28,7 +28,7 @@ function industrialtest.JetpackBase.update(self, player, inv, itemstack, dtime)
local playerName = player:get_player_name()
local control = player:get_player_control()
if control.jump and self:tryFly(itemstack) then
if movementGravity and movement_gravity > 10 then
if movementGravity and movementGravity > 10 then
reverseGravityForce = 2
end
self.addYVelocityClamped(player,1,10)