ammar2 missed a spot

This commit is contained in:
md_5 2013-08-14 22:14:32 +10:00
parent da0281508e
commit 61a93a54a9

View File

@ -258,9 +258,12 @@ public class BungeeCord extends ProxyServer
{ {
@Override @Override
public void run() public void run()
{
if ( getReconnectHandler() != null )
{ {
getReconnectHandler().save(); 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 ) );
} }