Don't resave the cells if we're saving and using flatfile.
This commit is contained in:
parent
ad57ed767b
commit
72c29bb4ea
@ -707,8 +707,12 @@ public class JailIO {
|
|||||||
for(Jail j : pl.getJailManager().getJails()) {
|
for(Jail j : pl.getJailManager().getJails()) {
|
||||||
saveJail(j);
|
saveJail(j);
|
||||||
|
|
||||||
for(Cell c : j.getCells()) {
|
//Only save the cells individually
|
||||||
saveCell(j, c);
|
//when we are not using the flatfile storage
|
||||||
|
if(storage != 0) {
|
||||||
|
for(Cell c : j.getCells()) {
|
||||||
|
saveCell(j, c);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user