Better Fix to Lock Movement and Rotation Locking during Abilities. Fix Interupting on Projectile Abilities

This commit is contained in:
Kam committed 2026-02-04 14:48:54 -05:00
1 parent 86055202a9
commit 326626ad8e
26 files changed
+266 -51

No files matched your search

@@ -26,7 +26,7 @@ public class EntityAILook extends EntityAIBase {
*/
@Override
public boolean shouldExecute() {
return !npc.isAttacking() && npc.getNavigator().noPath() && !npc.isPlayerSleeping() && npc.isEntityAlive();
return !npc.abilities.isRotationLocked() && !npc.isAttacking() && npc.getNavigator().noPath() && !npc.isPlayerSleeping() && npc.isEntityAlive();
}
/**