Commit 44516ba
authored
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 c0cbe27 commit 44516ba
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 | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| |||
0 commit comments