Correct fix would IMO be adding a predicate to the existing advancements for survival/adventure mode, rather than hard coding a check for spectator mode; as advancements are often used by datapacks as an event system to trigger functions based on player actions.
Correct fix would IMO be adding a predicate to the existing advancements for survival/adventure mode, rather than hard coding a check for spectator mode; as advancements are often used by datapacks as an event system to trigger functions based on player actions.