Refactor Solar Helmet

This commit is contained in:
2025-04-23 14:22:18 +02:00
parent e34c1eba66
commit 30c67390b2
4 changed files with 25 additions and 69 deletions

View File

@@ -20,7 +20,7 @@ industrialtest.internal.unpackTableInto(industrialtest.JetpackBase,{
part="torso"
})
function industrialtest.JetpackBase.update(self,player,itemstack,dtime)
function industrialtest.JetpackBase.update(self,player,inv,itemstack,dtime)
local control=player:get_player_control()
if control.jump and self:tryFly(itemstack) then
self.addYVelocityClamped(player,1,10)