mirror of
https://github.com/JonasunderscoreJones/McWebserver.git
synced 2025-10-23 11:29:19 +02:00
fixed advacned api being enabled when base api wasn't
This commit is contained in:
parent
2348921fb1
commit
3a88c33107
1 changed files with 7 additions and 6 deletions
|
@ -31,12 +31,13 @@ public class McWebserver implements ModInitializer {
|
||||||
//start collecting api info
|
//start collecting api info
|
||||||
ApiHandler.startHandler();
|
ApiHandler.startHandler();
|
||||||
LOGGER.info("Server API enabled!");
|
LOGGER.info("Server API enabled!");
|
||||||
}
|
if (ADV_API_ENABLED) {
|
||||||
|
//start collecting advanced api info
|
||||||
if (ADV_API_ENABLED) {
|
ApiHandler.startAdvHandler();
|
||||||
//start collecting advanced api info
|
LOGGER.info("Advanced Server API enabled!");
|
||||||
ApiHandler.startAdvHandler();
|
}
|
||||||
LOGGER.info("Advanced Server API enabled!");
|
} else {
|
||||||
|
LOGGER.info("Server API disabled in the config file.");
|
||||||
}
|
}
|
||||||
|
|
||||||
ServerHandler.start();
|
ServerHandler.start();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue