ClassInfo CodeName
TheAbsolutionism opened this issue ยท 0 comments
Skript/Server Version
Any/All
Bug Description
When registering a ClassInfo with the singular codename ending with an i
, Utils#getEnglishPlural()
improperly marks it as plural and returns the codename with an us
ending, even though it should be singular and not return with a different ending.
Causing Classes#getClassInfo()
to throw a SkriptAPIException for an invalid/unregistered codename
Expected Behavior
The singular codename ending with an i
not to be marked as plural.
Steps to Reproduce
Register a new ClassInfo with the singular codename ending in an i
,
Make an element using the codename in the pattern as an expression,
Call the element and look at console
Errors or Screenshots
No response
Other
No response
Agreement
- I have read the guidelines above and affirm I am following them with this report.