Skip to content

Commit

Permalink
Fix groupsSpawned setting
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisTestUser committed Sep 24, 2024
1 parent 2792d09 commit 7a3e75c
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ public int getGroupsSpawned() {
@Override
public void setGroupsSpawned(int groupsSpawned) {
try {
FieldUtils.writeField(this.raid, "J", groupsSpawned, true);
try {
FieldUtils.writeField(this.raid, "groupsSpawned", groupsSpawned, true);
} catch (IllegalArgumentException ignore) {
FieldUtils.writeField(this.raid, "J", groupsSpawned, true);
}
} catch (IllegalAccessException e) {
e.printStackTrace();
}
Expand Down

0 comments on commit 7a3e75c

Please sign in to comment.