Missing update from previous commit.
This commit is contained in:
parent
3ebaecf37e
commit
799987438c
@ -27,6 +27,7 @@ import java.net.Socket;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
import java.util.concurrent.CopyOnWriteArrayList;
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
import com.l2jserver.Config;
|
import com.l2jserver.Config;
|
||||||
@ -42,7 +43,7 @@ public class Status extends Thread
|
|||||||
private final int _uptime;
|
private final int _uptime;
|
||||||
private String _statusPw;
|
private String _statusPw;
|
||||||
private final int _mode;
|
private final int _mode;
|
||||||
private final List<LoginStatusThread> _loginStatus;
|
private final List<LoginStatusThread> _loginStatus = new CopyOnWriteArrayList<>();
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void run()
|
public void run()
|
||||||
@ -122,7 +123,6 @@ public class Status extends Thread
|
|||||||
}
|
}
|
||||||
statusServerSocket = new ServerSocket(statusPort);
|
statusServerSocket = new ServerSocket(statusPort);
|
||||||
_uptime = (int) System.currentTimeMillis();
|
_uptime = (int) System.currentTimeMillis();
|
||||||
_loginStatus = new ArrayList<>();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private String rndPW(int length)
|
private String rndPW(int length)
|
||||||
|
Loading…
Reference in New Issue
Block a user