Removing 'private' in favor of 'protected' and non-finalizing method by JakeGBLP · Pull Request #8429 · SkriptLang/Skript

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree this API should be possible to extend (I also needed this once), but either don't expose the fields via getters or provide proper explanation what it does (or rather returns in this case) as Function<String, String> getUnexpectedEntryMessage() doesn't say much. What do I apply this function to? What do you get in return?

Edit: now it is exposed it should definitely have documentation anyway, for the constructors also