The Ring of Chordata no longer gives a speed boost when the player is flying.

This commit is contained in:
Vasco Lavos committed 2014-06-21 20:45:34 +01:00
1 parent 18f7692fda
commit ced86628b1
1 file changed
+3
@@ -41,6 +41,9 @@ public class ItemWaterRing extends ItemBauble implements IManaUsingItem {
boolean changeY = Math.min(1.3, Math.abs(motionY)) == Math.abs(motionY);
boolean changeZ = Math.min(1.3, Math.abs(motionZ)) == Math.abs(motionZ);
if(player instanceof EntityPlayer && ((EntityPlayer) player).capabilities.isFlying)
changeX = changeY = changeZ = false;
if(changeX)
player.motionX = motionX;
if(changeY)