From 0955dff7aabaa430773dd7c40d39c3bdeedfdfb9 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 28 May 2024 21:01:47 -0500 Subject: [PATCH] city map serialization fix --- 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