Remove activities that are not in the activity module

This commit is contained in:
Melledy
2025-12-24 21:16:12 -08:00
parent 9db0f6aabb
commit 957d3a9ac3
2 changed files with 8 additions and 2 deletions
@@ -68,6 +68,14 @@ public class ActivityManager extends PlayerManager implements GameDatabaseObject
if (data == null) {
it.remove();
this.queueSave = true;
continue;
}
// Remove activities that are not in the activity module
if (!Nebula.getGameContext().getActivityModule().getActivities().contains(activity.getId())) {
it.remove();
this.queueSave = true;
continue;
}
// Set data