Fixed the Corporea Index being finnicky with Y distance.

This commit is contained in:
Lizbeth Rika committed 2015-03-16 16:53:34 +00:00
1 parent dc01b5ad8e
commit 5840adad8b
1 file changed
+1 -1
@@ -196,7 +196,7 @@ public class TileCorporeaIndex extends TileCorporeaBase {
}
public static boolean isInRangeOfIndex(EntityPlayer player, TileCorporeaIndex index) {
return MathHelper.pointDistanceSpace(index.xCoord + 0.5, index.yCoord + 0.5, index.zCoord + 0.5, player.posX, player.posY, player.posZ) < RADIUS;
return MathHelper.pointDistanceSpace(index.xCoord + 0.5, index.yCoord + 0.5, index.zCoord + 0.5, player.posX, player.posY + (player.worldObj.isRemote ? 0 : 1.6), player.posZ) < RADIUS;
}
public static void addPattern(String pattern, IRegexStacker stacker) {