mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 04:09:40 +00:00
Fixes all around, Vec3d -> Vector3d
This commit is contained in:
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());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user