update method name to avoid deprecation

This commit is contained in:
Oth3r 2025-05-12 23:10:41 -05:00
commit 2f5dc87a43

View file

@ -279,8 +279,8 @@ public class ServerConfig implements CustomFile<ServerConfig> {
} }
@Override @Override
public void fileNotExist() { public void createDirectory() {
CustomFile.super.fileNotExist(); CustomFile.super.createDirectory();
// try checking the old/legacy config directory for the file // try checking the old/legacy config directory for the file
if (Legacy.getLegacyFile().exists()) { if (Legacy.getLegacyFile().exists()) {
Data.LOGGER.info("Updating Sit!.properties to sit!/config.json"); Data.LOGGER.info("Updating Sit!.properties to sit!/config.json");