mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-15 08:25:21 +01:00
Add loadAfter plugin setting
This commit is contained in:
@@ -7,11 +7,13 @@ public final class PluginConfig {
|
||||
public String name, description, version;
|
||||
public String mainClass;
|
||||
public String[] authors;
|
||||
public String[] loadAfter;
|
||||
|
||||
/**
|
||||
* Attempts to validate this config instance.
|
||||
* @return True if the config is valid, false otherwise.
|
||||
*/
|
||||
@SuppressWarnings("BooleanMethodIsAlwaysInverted")
|
||||
public boolean validate() {
|
||||
return name != null && description != null && mainClass != null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user