quick fix : Unused assignment

This commit is contained in:
Alexdoru authored and Jason Mitchell committed 2023-01-28 18:02:41 -08:00
1 parent 6bf15fdfe3
commit 2b6b01314d
34 files changed
+54 -63

No files matched your search

@@ -43,8 +43,7 @@ public class TravelWings extends TravelGear {
float terminalVelocity = -0.4f + (feather * 0.08f);
if (terminalVelocity > -0.05f) terminalVelocity = -0.05f;
if (player.isSneaking() && terminalVelocity > -0.8f) terminalVelocity = -0.8F;
boolean flying = false;
flying = player.capabilities.isFlying;
boolean flying = player.capabilities.isFlying;
if (!flying && player.motionY < terminalVelocity) {
player.motionY = terminalVelocity;
}