mirror of
https://github.com/Coooookies/Grasscutter-MeaMailPlus.git
synced 2024-11-16 07:59:24 +00:00
fix: plugin unable to load when server is starting
This commit is contained in:
parent
3bb494d530
commit
7640a24273
2
pom.xml
2
pom.xml
@ -55,7 +55,7 @@
|
|||||||
<artifactId>Grasscutter-api</artifactId>
|
<artifactId>Grasscutter-api</artifactId>
|
||||||
<version>1.0</version>
|
<version>1.0</version>
|
||||||
<scope>system</scope>
|
<scope>system</scope>
|
||||||
<systemPath>${basedir}/../Grasscutter/grasscutter-1.0.3-dev.jar</systemPath>
|
<systemPath>${basedir}/../Grasscutter/grasscutter-1.1.1-dev.jar</systemPath>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -17,7 +17,7 @@ import io.github.gmw.config.MeaMailTemplate;
|
|||||||
public class ConfigParser {
|
public class ConfigParser {
|
||||||
private MeaMailConfig config;
|
private MeaMailConfig config;
|
||||||
private ArrayList<MeaMailTemplate> templates;
|
private ArrayList<MeaMailTemplate> templates;
|
||||||
private final String configPath = Grasscutter.getConfig().PLUGINS_FOLDER + "MeaMailPlus";
|
private final String configPath = Grasscutter.getConfig().folderStructure.plugins + "MeaMailPlus";
|
||||||
private final String templatePath = this.configPath + "/template";
|
private final String templatePath = this.configPath + "/template";
|
||||||
private final File configFile = new File( this.configPath + "/config.json");
|
private final File configFile = new File( this.configPath + "/config.json");
|
||||||
private static final Gson gson = new GsonBuilder().setPrettyPrinting().create();
|
private static final Gson gson = new GsonBuilder().setPrettyPrinting().create();
|
||||||
|
Loading…
Reference in New Issue
Block a user