mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 21:32:19 +00:00
Ability Push
This commit is contained in:
1 parent
3e85557984
commit
166c8aa228
66 files changed
+10780
-42
No files matched your search
@@ -17,6 +17,11 @@ public class EntityAIPounceTarget extends EntityAIBase {
|
||||
|
||||
@Override
|
||||
public boolean shouldExecute() {
|
||||
// Don't pounce if ability is controlling movement
|
||||
if (this.npc.abilities.isAbilityControllingMovement()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!this.npc.onGround)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in new issue
Block a user