mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 06:52:21 +00:00
Fix Anchor Point Helper issue on NPCs
This commit is contained in:
1 parent
87d511c38e
commit
ead3c5944c
3 files changed
+5
-8
No files matched your search
@@ -460,13 +460,11 @@ public class EntityAbilityBeam extends EntityAbilityProjectile {
|
||||
);
|
||||
}
|
||||
|
||||
// Offset downward by half headSize to center
|
||||
double centeredY = pos.yCoord - headSize * 0.5;
|
||||
setPosition(pos.xCoord, centeredY, pos.zCoord);
|
||||
setPosition(pos.xCoord, pos.yCoord, pos.zCoord);
|
||||
|
||||
// Also update origin for when firing starts
|
||||
startX = pos.xCoord;
|
||||
startY = centeredY;
|
||||
startY = pos.yCoord;
|
||||
startZ = pos.zCoord;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user