Only save a jail that is enabled.

This commit is contained in:
graywolf336 2014-08-20 11:45:45 -05:00
parent 5734eeec4c
commit b7adc28a8c

View File

@ -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) {