Commit 7ba0fd3
committed
Synchronize YamlRegionFile#saveAll
This prevents multiple invocations of the method from intersecting, which could potentially cause the .tmp file to be overwritten before being renamed, thus corrupting the region storage1 parent 8cbce96 commit 7ba0fd3
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- worldguard-core/src/main/java/com/sk89q/worldguard/protection/managers/storage/file
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
0 commit comments