Overrides saving
This commit is contained in:
@@ -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
|
@Override
|
||||||
public void onDisable() {
|
public void onDisable() {
|
||||||
PortalHandler.closeAllPortals();
|
PortalHandler.closeAllPortals();
|
||||||
|
Reference in New Issue
Block a user