Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Ignore case when matching custom item aliases #4295

Merged
merged 2 commits into from
Jul 1, 2021

Conversation

triagonal
Copy link
Member

@triagonal triagonal commented Jul 1, 2021

Information

This PR lowercases keys in CustomItemResolver in order to allow users to use any case combination when using custom item aliases.

Fixes #4285

Details

Environments tested:

OS: Windows 10 20H2
Java version: openjdk 16.0.1 2021-04-20

  • Most recent Paper version (git-Paper-68 (MC: 1.17))

@triagonal triagonal added module: main Issues or PRs for the main Essentials module type: bugfix PRs that fix bugs in EssentialsX. labels Jul 1, 2021
@JRoy JRoy enabled auto-merge (squash) July 1, 2021 16:27
@JRoy JRoy merged commit 5c08a0e into EssentialsX:2.x Jul 1, 2021
@triagonal triagonal deleted the fix/custom-resolver-case branch July 1, 2021 16:31
@pop4959 pop4959 added this to the 2.19.0 milestone Jul 6, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
module: main Issues or PRs for the main Essentials module type: bugfix PRs that fix bugs in EssentialsX.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sell/buy sign should not be case sensitive
3 participants