Bugfix
This commit is contained in:
@@ -46,14 +46,19 @@ public class MClient implements ClientProvider, ApplicationListener{
|
|||||||
public void update(){
|
public void update(){
|
||||||
if(socket == null) return;
|
if(socket == null) return;
|
||||||
|
|
||||||
socket.update((sock, object) -> {
|
try{
|
||||||
try{
|
socket.update((sock, object) -> {
|
||||||
Net.handleClientReceived(object);
|
try{
|
||||||
}catch(Exception e){
|
Net.handleClientReceived(object);
|
||||||
Net.showError(e);
|
}catch(Exception e){
|
||||||
netClient.disconnectQuietly();
|
Net.showError(e);
|
||||||
}
|
netClient.disconnectQuietly();
|
||||||
});
|
}
|
||||||
|
});
|
||||||
|
}catch(Exception e){
|
||||||
|
Net.showError(e);
|
||||||
|
netClient.disconnectQuietly();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user