mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-24 03:05:49 +01:00
Synchronize yaml save to close #286, crash on end
This commit is contained in:
parent
f44cf6c8e9
commit
fa9dd7e27f
@ -80,7 +80,7 @@ public class YamlReconnectHandler implements ReconnectHandler
|
||||
}
|
||||
|
||||
@Override
|
||||
public void save()
|
||||
public synchronized void save()
|
||||
{
|
||||
try ( FileWriter wr = new FileWriter( file ) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user