Skip to content

Commit

Permalink
Spotless Apply :/
Browse files Browse the repository at this point in the history
  • Loading branch information
Drathonix committed Apr 20, 2024
1 parent 47f1173 commit 40b69ff
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public void onArmorTick(World world, EntityPlayer player, ItemStack itemStack) {
}
player.stepHeight = 1.0F;
}
float speedMod = (float)getSpeedModifier(itemStack);
float speedMod = (float) getSpeedModifier(itemStack);
if (player.onGround) {
float bonus = speedBonus;
if (player.isInWater()) {
Expand All @@ -148,11 +148,13 @@ public void onArmorTick(World world, EntityPlayer player, ItemStack itemStack) {
// so any other boots factor can be calculated via proportion method
player.jumpMovementFactor = 0.03F
/ ((ItemElectricBootsTraveller) EMTItems.electricBootsTraveller).jumpBonus
* jumpBonus * speedMod;
* jumpBonus
* speedMod;
} else {
player.jumpMovementFactor = 0.05F
/ ((ItemElectricBootsTraveller) EMTItems.electricBootsTraveller).jumpBonus
* jumpBonus * speedMod;
* jumpBonus
* speedMod;
}
}
}
Expand Down

0 comments on commit 40b69ff

Please sign in to comment.