Skip to content

Commit

Permalink
Removed several unused statements which were added for mob death from…
Browse files Browse the repository at this point in the history
… WanderTask.java
  • Loading branch information
max9753 committed Sep 11, 2023
1 parent 1c6dac0 commit 4beb796
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ public void update() {
// with section, massive props to him for his help!
if (!isDead && owner.getEntity().getComponent(CombatStatsComponent.class).isDead()) {
owner.getEntity().getEvents().trigger("dieStart");
//owner.getEntity().getComponent(ColliderComponent.class).setLayer(PhysicsLayer.NONE);
//owner.getEntity().getComponent(HitboxComponent.class).setLayer(PhysicsLayer.NONE);
currentTask.stop();
isDead = true;
}
Expand Down

0 comments on commit 4beb796

Please sign in to comment.