aboutsummaryrefslogtreecommitdiff
path: root/build/cleaners/skyblock/objectives.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/cleaners/skyblock/objectives.js')
-rw-r--r--build/cleaners/skyblock/objectives.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/build/cleaners/skyblock/objectives.js b/build/cleaners/skyblock/objectives.js
deleted file mode 100644
index 52e92db..0000000
--- a/build/cleaners/skyblock/objectives.js
+++ /dev/null
@@ -1,12 +0,0 @@
-export function cleanObjectives(data) {
- const rawObjectives = data?.objectives || {};
- const objectives = [];
- for (const rawObjectiveName in rawObjectives) {
- const rawObjectiveValue = rawObjectives[rawObjectiveName];
- objectives.push({
- name: rawObjectiveName,
- completed: rawObjectiveValue.status === 'COMPLETE',
- });
- }
- return objectives;
-}