mirror of
https://github.com/GTNewHorizons/Avaritia.git
synced 2026-11-22 05:02:18 +00:00
Add traveler boots ability
This commit is contained in:
1 parent
3da466e91d
commit
1eb05e6f75
1 file changed
+1
@@ -326,6 +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;
|
||||
|
||||
float speed = 0.15f * (flying ? 1.1f : 1.0f)
|
||||
// * (swimming ? 1.2f : 1.0f)
|
||||
|
||||
Reference in new issue
Block a user