Clear dirty flag if RegionManager.save() is used.

This commit is contained in:
sk89q 2014-08-22 02:08:59 -07:00
parent 4d4e1c6c26
commit 83c95bbb8c

View File

@ -105,6 +105,7 @@ public void load() throws StorageException {
* @throws StorageException thrown on save error * @throws StorageException thrown on save error
*/ */
public void save() throws StorageException { public void save() throws StorageException {
index.setDirty(false);
store.saveAll(new HashSet<ProtectedRegion>(getValuesCopy())); store.saveAll(new HashSet<ProtectedRegion>(getValuesCopy()));
} }