mirror of
https://github.com/GTNewHorizons/Avaritia.git
synced 2026-11-13 16:54:04 +00:00
Add traveler boots ability
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user