镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Ignore case when matching custom item aliases - #4295

Merged
JRoy merged 2 commits into
EssentialsX:2.xfrom
triagonal:fix/custom-resolver-case
Jul 1, 2021
Merged

JRoy merged 2 commits into
EssentialsX:2.xfrom
triagonal:fix/custom-resolver-case

Conversation

@triagonal

@triagonal triagonal commented Jul 1, 2021 •

Copy link
Copy Markdown
Member

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
ressidell pushed a commit to ressidell/Essentials that referenced this pull request Apr 27, 2025
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
rewsdjad1 pushed a commit to rewsdjad1/EssentialsXPlus that referenced this pull request Aug 13, 2026
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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