From a857eaed745306df8315ad83a55d7ae3a2b1d58e Mon Sep 17 00:00:00 2001 From: Anuken Date: Wed, 8 Mar 2023 07:06:59 -0500 Subject: [PATCH] Fixed #8368 --- core/src/mindustry/core/NetClient.java | 5 +++-- gradle.properties | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/core/src/mindustry/core/NetClient.java b/core/src/mindustry/core/NetClient.java index b06d5dcade..3de7838874 100644 --- a/core/src/mindustry/core/NetClient.java +++ b/core/src/mindustry/core/NetClient.java @@ -435,8 +435,9 @@ public class NetClient implements ApplicationListener{ for(int j = 0; j < amount; j++){ readSyncEntity(input, Reads.get(input)); } - }catch(IOException e){ - throw new RuntimeException(e); + }catch(Exception e){ + //don't disconnect, just log it + Log.err("Error reading entity snapshot", e); } } diff --git a/gradle.properties b/gradle.properties index efa15264c8..0c0532b371 100644 --- a/gradle.properties +++ b/gradle.properties @@ -25,4 +25,4 @@ org.gradle.caching=true #used for slow jitpack builds; TODO see if this actually works org.gradle.internal.http.socketTimeout=100000 org.gradle.internal.http.connectionTimeout=100000 -archash=9de902fcfe +archash=27094e1726