Continuity icon indicating copy to clipboard operation
Continuity copied to clipboard

Check for misspelled property keys

Open Aeldit opened this issue 1 year ago • 0 comments

The purpose of this PR is to add a check for misspelled property keys (when I say misspelled, I mean either the writer of the file misspelled the key, or an encoding error makes invisible characters appear in the key, which is what happened in #532).

For now it only checks inside the parseMatchTiles() and parseBlockStates() methods of PropertiesParsingHelper, but it could be added to all the functions that search for keys in ctm properties files

EDIT : I could also make it so that it only works if the number of different character is < X (and we would have to define what that number is)

Aeldit avatar Oct 31 '24 15:10 Aeldit