Add traveler boots ability

This commit is contained in:
JOOOCV committed 2023-02-26 00:11:15 -06:00
1 parent 1eb05e6f75
commit 52bb2d0f0a
1 file changed
+1 -1
@@ -326,7 +326,7 @@ public class ItemArmorInfinity extends ItemArmor implements ICosmicRenderItem, I
boolean swimming = player.isInsideOfMaterial(Material.water) || player.isInWater();
if (player.onGround || flying || swimming) {
boolean sneaking = player.isSneaking();
player.stepHeight = player.isSneaking() ? 0.5F : 1F;
player.stepHeight = sneaking ? 0.5f : 1.0f;
float speed = 0.15f * (flying ? 1.1f : 1.0f)
// * (swimming ? 1.2f : 1.0f)