You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Skript/Server Version
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 anus
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 codenameExpected 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
The text was updated successfully, but these errors were encountered: