diff --git a/worldguard-core/src/main/java/com/sk89q/worldguard/protection/managers/storage/file/YamlRegionFile.java b/worldguard-core/src/main/java/com/sk89q/worldguard/protection/managers/storage/file/YamlRegionFile.java index cd1d26e7..4c38a32b 100644 --- a/worldguard-core/src/main/java/com/sk89q/worldguard/protection/managers/storage/file/YamlRegionFile.java +++ b/worldguard-core/src/main/java/com/sk89q/worldguard/protection/managers/storage/file/YamlRegionFile.java @@ -192,7 +192,7 @@ public Set loadAll(FlagRegistry flagRegistry) throws StorageExc } @Override - public void saveAll(Set regions) throws StorageException { + public synchronized void saveAll(Set regions) throws StorageException { checkNotNull(regions); File tempFile = new File(file.getParentFile(), file.getName() + ".tmp");