fn ensure_writable_objective(
state: &PersistentScoreboard,
objective: &ScoreboardObjective,
) -> Result<(), ScoreboardError>fn ensure_writable_objective(
state: &PersistentScoreboard,
objective: &ScoreboardObjective,
) -> Result<(), ScoreboardError>