diff --git a/source/core/src/main/com/csse3200/game/entities/factories/ProjectileFactory.java b/source/core/src/main/com/csse3200/game/entities/factories/ProjectileFactory.java index 92da28717..cb02aa1fa 100644 --- a/source/core/src/main/com/csse3200/game/entities/factories/ProjectileFactory.java +++ b/source/core/src/main/com/csse3200/game/entities/factories/ProjectileFactory.java @@ -44,7 +44,7 @@ public static Entity createFireBall(Entity target, Vector2 destination, Vector2 .addComponent(new ColliderComponent().setSensor(true)) // This is the component that allows the projectile to damage a specified target. - .addComponent(new TouchAttackComponent(PhysicsLayer.ENGINEER, 1.5f, true)) + .addComponent(new TouchAttackComponent(PhysicsLayer.NPC, 1.5f, true)) .addComponent(new CombatStatsComponent(config.health, config.baseAttack)); projectile