mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-26 15:03:01 +00:00
quick fix : Unused assignment
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user