Refactor Solar Helmet
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user