mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-28 05:05:21 +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
|
@Override
|
||||||
public void save()
|
public synchronized void save()
|
||||||
{
|
{
|
||||||
try ( FileWriter wr = new FileWriter( file ) )
|
try ( FileWriter wr = new FileWriter( file ) )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user