-
-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make KeyValueEntryData validation not case-sensitive #7143
Make KeyValueEntryData validation not case-sensitive #7143
Conversation
src/main/java/org/skriptlang/skript/lang/entry/KeyValueEntryData.java
Outdated
Show resolved
Hide resolved
Co-authored-by: _tud <98935832+UnderscoreTud@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This probably needs done for the other canCreateWith implementations
You might also prefer using https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html#regionMatches(boolean,int,java.lang.String,int,int)
…to patch/entry-case-sensitivity # Conflicts: # src/main/java/org/skriptlang/skript/lang/entry/KeyValueEntryData.java
other implementations seem to be ignoring text cases already |
Description
This PR makes all entries in KeyValueEntryData's lowercase when comparing.
Target Minecraft Versions: any
Requirements: none
Related Issues: #7138