forked from UnlegitDqrk/unlegitlibrary
Bug fix
This commit is contained in:
@@ -202,7 +202,7 @@ public class NetworkServer extends DefaultMethodsOverrider {
|
||||
if (logger == null) System.err.println("Restart exception: " + sleepThreadException.getMessage());
|
||||
else logger.exception("Restart exception", sleepThreadException);
|
||||
}
|
||||
|
||||
//
|
||||
currentAttempts++;
|
||||
if (currentAttempts <= maxRestartAttempts || maxRestartAttempts < 0) return start();
|
||||
}
|
||||
|
@@ -26,7 +26,7 @@ public class S_IncomingConnectionEvent extends CancellableEvent {
|
||||
|
||||
public final NetworkServer server;
|
||||
public final Socket socket;
|
||||
|
||||
//
|
||||
public S_IncomingConnectionEvent(NetworkServer server, Socket socket) {
|
||||
this.server = server;
|
||||
this.socket = socket;
|
||||
|
Reference in New Issue
Block a user