Only save a jail that is enabled.
This commit is contained in:
		@@ -717,6 +717,7 @@ public class JailIO {
 | 
			
		||||
     * @param j The jail to save.
 | 
			
		||||
     */
 | 
			
		||||
    public void saveJail(Jail j) {
 | 
			
		||||
        if(j.isEnabled()) {
 | 
			
		||||
            switch(storage) {
 | 
			
		||||
                case 1:
 | 
			
		||||
                case 2:
 | 
			
		||||
@@ -934,6 +935,7 @@ public class JailIO {
 | 
			
		||||
                    break;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public void saveCell(Jail j, Cell c) {
 | 
			
		||||
        switch(storage) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user