city data msg catch

This commit is contained in:
2024-06-03 19:51:06 -05:00
parent 6d68d048b0
commit 0f7ef9f56b
@@ -87,7 +87,11 @@ public class CityDataMsg extends ClientNetMsg {
temp.putInt(cityList.size()); temp.putInt(cityList.size());
for (City city : cityList) for (City city : cityList)
try {
City.serializeForClientMsg(city, temp); City.serializeForClientMsg(city, temp);
}catch(Exception e){
continue;
}
temp.put((byte) 0); // PAD temp.put((byte) 0); // PAD
// Serialize runegates // Serialize runegates