From 0f7ef9f56b8b6270eb75075f92fe31e9441f1024 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 3 Jun 2024 19:51:06 -0500 Subject: [PATCH] city data msg catch --- src/engine/net/client/msg/CityDataMsg.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/engine/net/client/msg/CityDataMsg.java b/src/engine/net/client/msg/CityDataMsg.java index f5f679e7..5e571e9f 100644 --- a/src/engine/net/client/msg/CityDataMsg.java +++ b/src/engine/net/client/msg/CityDataMsg.java @@ -87,7 +87,11 @@ public class CityDataMsg extends ClientNetMsg { temp.putInt(cityList.size()); for (City city : cityList) - City.serializeForClientMsg(city, temp); + try { + City.serializeForClientMsg(city, temp); + }catch(Exception e){ + continue; + } temp.put((byte) 0); // PAD // Serialize runegates