Jump to content

Less Fussy Configuration.load()


JademusSreg

Recommended Posts

The introduction of array Properties to Configuration made coding settings more convenient, except when it isn't.

 

As of Forge 6.5.0.467, Configuration.load has trouble reading Property array values that include special characters: "=" causes array values to be reformatted as new single value properties on subsequent load-saves; the char cases on lines 519-599 cause various errors as it attempts to read them as though the array values are individual properties; other special characters throw RuntimeExceptions.

 

All this amounts to making it difficult to write even simple expressions to string array properties, like "stone = 1" or "ShapedRecipes @ net.minecraft.item.crafting.ShapedRecipes".

 

Will this be addressed soon or has it been addressed in a recent build?

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.

Announcements



×
×
  • Create New...

Important Information

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