Browse Source

city data msg catch

lakebane-master
FatBoy-DOTC 6 months ago
parent
commit
0f7ef9f56b
  1. 4
      src/engine/net/client/msg/CityDataMsg.java

4
src/engine/net/client/msg/CityDataMsg.java

@ -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

Loading…
Cancel
Save