Many various fixes

This commit is contained in:
Anuken
2019-09-04 23:16:26 -04:00
parent 0a9cad2ea6
commit 0f79298c28
14 changed files with 971 additions and 938 deletions

View File

@@ -182,6 +182,8 @@ public class ArcNetClient implements ClientProvider{
private void handleException(Exception e){
if(e instanceof ArcNetException){
Core.app.post(() -> Net.showError(new IOException("mismatch")));
}else if(e instanceof ClosedChannelException){
Core.app.post(() -> Net.showError(new IOException("alreadyconnected")));
}else{
Core.app.post(() -> Net.showError(e));
}