Allowed custom props parameter

This commit is contained in:
Auxilor
2022-02-03 15:06:35 +00:00
parent 9cccbd10ba
commit 11dc6d0e67

View File

@@ -255,7 +255,7 @@ public abstract class EcoPlugin extends JavaPlugin implements PluginLike {
*
* @param pluginProps The props. If left null, it will read from eco.yml.
*/
private EcoPlugin(@Nullable final EcoPluginProps pluginProps) {
protected EcoPlugin(@Nullable final EcoPluginProps pluginProps) {
/*
The handler must be initialized before any plugin's constructors
are called, as the constructors call Eco#getHandler().