mirror of
https://github.com/Oth3r/Sit.git
synced 2025-09-19 16:03: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
|
||||
public void fileNotExist() {
|
||||
CustomFile.super.fileNotExist();
|
||||
public void createDirectory() {
|
||||
CustomFile.super.createDirectory();
|
||||
// try checking the old/legacy config directory for the file
|
||||
if (Legacy.getLegacyFile().exists()) {
|
||||
Data.LOGGER.info("Updating Sit!.properties to sit!/config.json");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue