Overrides saving

This commit is contained in:
2023-04-19 20:51:35 +02:00
parent c3752db99b
commit 032a4df4d7

View File

@@ -355,6 +355,16 @@ public class Stargate extends JavaPlugin {
}
}
@Override
public void saveConfig() {
super.saveConfig();
try {
configuration.save(configFile);
} catch (IOException e) {
logSevere(e.getMessage());
}
}
@Override
public void onDisable() {
PortalHandler.closeAllPortals();