AutoConfig icon indicating copy to clipboard operation
AutoConfig copied to clipboard

Error with custom list

Open TechPro424 opened this issue 2 years ago • 0 comments

Added

@Gui.CollapsibleObject
    public ArrayList<Group> groups = new ArrayList<Group>();

to my config class, and I get this error: https://gist.github.com/TechPro424/196d9e0542eed2ba557d32141143ab9e

Here is the Group class that I am using in the ArrayList

package in.techpro424.groupmessages.config;

import java.util.ArrayList;

public class Group {
    String name =  "group1";
    public ArrayList<String> playerNames = new ArrayList<String>();

    public Group(String name, ArrayList<String> arrayList) {
        this.name = name;
        this.playerNames = arrayList;
    }
}

Please help me out

TechPro424 avatar Feb 14 '23 17:02 TechPro424