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
 | 
			
		||||
    public void onDisable() {
 | 
			
		||||
        PortalHandler.closeAllPortals();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user