mirror of
https://github.com/JonasunderscoreJones/McWebserver.git
synced 2025-10-23 03:19: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,13 +31,14 @@ public class McWebserver implements ModInitializer {
|
|||
//start collecting api info
|
||||
ApiHandler.startHandler();
|
||||
LOGGER.info("Server API enabled!");
|
||||
}
|
||||
|
||||
if (ADV_API_ENABLED) {
|
||||
//start collecting advanced api info
|
||||
ApiHandler.startAdvHandler();
|
||||
LOGGER.info("Advanced Server API enabled!");
|
||||
}
|
||||
} else {
|
||||
LOGGER.info("Server API disabled in the config file.");
|
||||
}
|
||||
|
||||
ServerHandler.start();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue