mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 04:09:40 +00:00
WIP 1.15
This commit is contained in:
1 parent
2291ef09c8
commit
d82f1ca8cb
151 files changed
+1075
-1059
No files matched your search
@@ -132,9 +132,9 @@ public class EntityMagicMissile extends ThrowableEntity {
|
||||
LivingEntity target = getTargetEntity();
|
||||
if(target != null) {
|
||||
if(lockY == -1) {
|
||||
lockX = target.posX;
|
||||
lockY = target.posY;
|
||||
lockZ = target.posZ;
|
||||
lockX = target.getX();
|
||||
lockY = target.getY();
|
||||
lockZ = target.getZ();
|
||||
}
|
||||
|
||||
Vector3 targetVec = evil ? new Vector3(lockX, lockY, lockZ) : Vector3.fromEntityCenter(target);
|
||||
|
||||
Reference in new issue
Block a user