Don't save the cell when we are loading it.
This commit is contained in:
@ -130,8 +130,8 @@ public class Jail {
|
||||
}
|
||||
|
||||
/** Adds a cell to the Jail. */
|
||||
public void addCell(Cell cell) {
|
||||
plugin.getJailIO().saveJail(this);
|
||||
public void addCell(Cell cell, boolean save) {
|
||||
if(save) plugin.getJailIO().saveJail(this);
|
||||
this.cells.put(cell.getName(), cell);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user