Jump to content

[1.20.1] Weird problem with parsing my config.


Recommended Posts

MOB_SPECIFIC_OVERRIDES = builder.defineListAllowEmpty("MOB_SPECIFIC_OVERRIDES", () -> Lists.newArrayList(""), e -> e instanceof String && ((String) e).contains(":") && ((String) e).contains(","));

For some reason the above line causes my config to fail to parse and throws this error:
 

Quote

List on key MOB_SPECIFIC_OVERRIDES is deemed to need correction. It failed validation.

If someone could help me with understanding why this fails to parse, that'd be great.

 

This is the rest of my config. Click here.

 

Edited by TheBlueEyeOfEnder
Forgot to include the rest of my code.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.