make reReadDatabase() static

This commit is contained in:
fzorb 2025-07-21 08:22:23 +03:00
parent 45c2770873
commit c882fe6031

View file

@ -37,7 +37,7 @@ public final class NoThankYouMicrosoft extends JavaPlugin {
} }
} }
public void reReadDatabase() { public static void reReadDatabase() {
databaseFile = new File(getDataFolder(), "database.yml"); databaseFile = new File(getDataFolder(), "database.yml");
databaseFileConfig = new YamlConfiguration(); databaseFileConfig = new YamlConfiguration();
try { try {