mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-03-13 11:18:19 +01:00
Logger message for direct-compression still being enabled
This commit is contained in:
parent
bfd032d685
commit
fc10ec265f
2 changed files with 3 additions and 1 deletions
|
@ -405,6 +405,8 @@ public class GeyserImpl implements GeyserApi, EventRegistrar {
|
|||
logger.debug("Found SRV record \"" + remoteAddress + ":" + remotePort + "\"");
|
||||
}
|
||||
}
|
||||
} else if (!config.advanced().useDirectConnection()) {
|
||||
logger.warning("The use-direct-connection config option is deprecated. Please reach out to us on Discord if there's a reason it needs to be enabled.");
|
||||
}
|
||||
|
||||
// Ensure that PacketLib does not create an event loop for handling packets; we'll do that ourselves
|
||||
|
|
|
@ -209,7 +209,7 @@ public final class ConfigLoader {
|
|||
|
||||
// Create the path in a way that Standalone changing the config name will be fine.
|
||||
int extensionIndex = configFile.getName().lastIndexOf(".");
|
||||
File advancedConfigPath = new File(configFile.getParent(), configFile.getName().substring(0, extensionIndex) + "_advanced" + configFile.getName().substring(extensionIndex));
|
||||
File advancedConfigPath = new File(configFile.getParent(), configFile.getName().substring(0, extensionIndex) + "-advanced" + configFile.getName().substring(extensionIndex));
|
||||
AdvancedConfig advancedConfig = null;
|
||||
|
||||
if (originallyEmpty || currentVersion != newVersion) {
|
||||
|
|
Loading…
Add table
Reference in a new issue