ClassInfo CodeName #7253
Labels
bug
An issue that needs to be fixed. Alternatively, a PR fixing an issue.
PR available
Issues which have a yet-to-be merged PR resolving it
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: