ammar2 missed a spot
This commit is contained in:
parent
da0281508e
commit
61a93a54a9
@ -259,7 +259,10 @@ public class BungeeCord extends ProxyServer
|
|||||||
@Override
|
@Override
|
||||||
public void run()
|
public void run()
|
||||||
{
|
{
|
||||||
getReconnectHandler().save();
|
if ( getReconnectHandler() != null )
|
||||||
|
{
|
||||||
|
getReconnectHandler().save();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}, 0, TimeUnit.MINUTES.toMillis( 5 ) );
|
}, 0, TimeUnit.MINUTES.toMillis( 5 ) );
|
||||||
metricsThread.scheduleAtFixedRate( new Metrics(), 0, TimeUnit.MINUTES.toMillis( Metrics.PING_INTERVAL ) );
|
metricsThread.scheduleAtFixedRate( new Metrics(), 0, TimeUnit.MINUTES.toMillis( Metrics.PING_INTERVAL ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user