Browse Source

city map serialization fix

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
0955dff7aa
  1. 6
      src/engine/net/client/msg/CityDataMsg.java

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

@ -87,7 +87,11 @@ public class CityDataMsg extends ClientNetMsg { @@ -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

Loading…
Cancel
Save