Fixes all around, Vec3d -> Vector3d

This commit is contained in:
Vincent Lee committed 2020-06-25 19:24:52 -05:00
1 parent 2db83d754f
commit 98b74dc69b
43 files changed
+135 -138

No files matched your search

@@ -134,7 +134,7 @@ public class EntityMagicMissile extends ThrowableEntity {
Vector3 targetVec = evil ? new Vector3(lockX, lockY, lockZ) : Vector3.fromEntityCenter(target);
Vector3 diffVec = targetVec.subtract(thisVec);
Vector3 motionVec = diffVec.normalize().multiply(evil ? 0.5 : 0.6);
setMotion(motionVec.toVec3D());
setMotion(motionVec.toVector3d());
if (time < 10) {
setMotion(getMotion().getX(), Math.abs(getMotion().getY()), getMotion().getZ());
}