Fixed the barrier display of the Gaia Guardian being 1 block off.

This commit is contained in:
Lizbeth Rika committed 2015-02-16 21:42:27 +00:00
1 parent af697c66a9
commit de66a2f238
1 file changed
+3 -3
@@ -355,9 +355,9 @@ public class EntityDoppleganger extends EntityCreature implements IBotaniaBossWi
float mv = 0.35F;
float rad = i * (float) Math.PI / 180F;
double x = source.posX - 0.5 - Math.cos(rad) * range;
double y = source.posY - 0.5;
double z = source.posZ - 0.5 - Math.sin(rad) * range;
double x = source.posX + 0.5 - Math.cos(rad) * range;
double y = source.posY + 0.5;
double z = source.posZ + 0.5 - Math.sin(rad) * range;
Botania.proxy.wispFX(worldObj, x, y, z, r, g, b, 0.5F, (float) (Math.random() - 0.5F) * m, (float) (Math.random() - 0.5F) * mv, (float) (Math.random() - 0.5F) * m);
}