Correct the 1.19 and 1.21 checks to match the lowercased server-version string.
Summarize configured item-name and item-lore filters by count instead of dumping every entry into the startup log.
Root cause
fListener lowercases IllegalStack.getVersion(), but the modern-version guard checked uppercase V1_19 and V1_21. As a result, 1.19.x and 1.21.x servers could enter the legacy < 1.13 initialization branch before modern listeners were enabled.
Impact
Modern servers now use the intended material initialization path, and startup logs no longer expose large configured filter lists.
Validation
Confirmed the final diff contains only the two intended Java files.
Confirmed the supplied full files matched the current repository blobs before applying the three exact replacements.
Repository CI is expected to run on this pull request.
## What changed
- Correct the 1.19 and 1.21 checks to match the lowercased server-version string.
- Summarize configured item-name and item-lore filters by count instead of dumping every entry into the startup log.
## Root cause
`fListener` lowercases `IllegalStack.getVersion()`, but the modern-version guard checked uppercase `V1_19` and `V1_21`. As a result, 1.19.x and 1.21.x servers could enter the legacy `< 1.13` initialization branch before modern listeners were enabled.
## Impact
Modern servers now use the intended material initialization path, and startup logs no longer expose large configured filter lists.
## Validation
- Confirmed the final diff contains only the two intended Java files.
- Confirmed the supplied full files matched the current repository blobs before applying the three exact replacements.
- Repository CI is expected to run on this pull request.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What changed
Root cause
fListenerlowercasesIllegalStack.getVersion(), but the modern-version guard checked uppercaseV1_19andV1_21. As a result, 1.19.x and 1.21.x servers could enter the legacy< 1.13initialization branch before modern listeners were enabled.Impact
Modern servers now use the intended material initialization path, and startup logs no longer expose large configured filter lists.
Validation