mirror of
https://github.com/Oth3r/Sit.git
synced 2025-09-19 07:53:22 +02:00
update method name to avoid deprecation
This commit is contained in:
parent
4a5df4f253
commit
2f5dc87a43
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue