We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31cd364 commit 91d288eCopy full SHA for 91d288e
1 file changed
src/main/java/tk/fungy/wsformc/Main.java
@@ -33,6 +33,14 @@ public void onEnable() {
33
getLogger().info("Starting Webserbver.");
34
Command.ws.start();
35
}
36
+ if (FileManager.config == null) {
37
+ try {
38
+ new FileManager().startup();
39
+ } catch (UnknownHostException e) {
40
+ getLogger().warning("Failed to found IP of this server, please set this manually.");
41
+ }
42
43
+ FileManager.setStringInConfig("Version", getDescription().getVersion());
44
Updater.startUpdater();
45
46
int pluginId = 17696;
0 commit comments