Skip to content

Commit

Permalink
Fix unkilable deflect wizard bug
Browse files Browse the repository at this point in the history
  • Loading branch information
freshc0w committed Oct 17, 2023
1 parent 7ac0367 commit 3775af5
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void create() {

@Override
public void update() {
resetHealth();
super.update();
}

/**
Expand All @@ -77,8 +77,6 @@ private void deflectProj(Fixture me, Fixture other) {

if (deflectLimitAmount-- <= 0) { // Reached deflect limit amt, return.
entity.getComponent(this.getClass()).setEnabled(false);
// reset health
resetHealth();
return;
}

Expand Down

0 comments on commit 3775af5

Please sign in to comment.