From 4beb796ef975cc4394dd828398cb16d683dd74a1 Mon Sep 17 00:00:00 2001 From: max9753 Date: Mon, 11 Sep 2023 12:11:44 +1000 Subject: [PATCH] Removed several unused statements which were added for mob death from WanderTask.java --- .../src/main/com/csse3200/game/components/tasks/WanderTask.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/core/src/main/com/csse3200/game/components/tasks/WanderTask.java b/source/core/src/main/com/csse3200/game/components/tasks/WanderTask.java index 088d32775..f02852bdb 100644 --- a/source/core/src/main/com/csse3200/game/components/tasks/WanderTask.java +++ b/source/core/src/main/com/csse3200/game/components/tasks/WanderTask.java @@ -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; }