Skip to content

Commit

Permalink
Fix: Crash with FlowstateHelperConfig (#2740)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidArthurCole authored Oct 16, 2024
1 parent 359ba9d commit 707959f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .idea/dictionaries/default_user.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
import io.github.notenoughupdates.moulconfig.annotations.SearchTag;

import java.util.ArrayList;
import java.util.List;

public class FlowstateHelperConfig {
Expand All @@ -23,7 +24,7 @@ public class FlowstateHelperConfig {
@Expose
@ConfigOption(name = "Appearance", desc = "Drag text to change the appearance.")
@ConfigEditorDraggableList()
public List<FlowstateElements> appearance = FlowstateElements.defaultOption;
public List<FlowstateElements> appearance = new ArrayList<>(FlowstateElements.defaultOption);

@Expose
@ConfigOption(name = "Dynamic Color", desc = "Makes the timer's color dynamic.")
Expand Down

0 comments on commit 707959f

Please sign in to comment.