Fix Anchor Point Helper issue on NPCs

This commit is contained in:
Kam committed 2026-02-03 14:06:30 -05:00
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;
}