mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-23 21:49:50 +00:00
The Ring of Chordata no longer gives a speed boost when the player is flying.
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user