mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-27 13:07:29 +01:00
Clear dirty flag if RegionManager.save() is used.
This commit is contained in:
parent
4d4e1c6c26
commit
83c95bbb8c
@ -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()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user