city map serialization fix
This commit is contained in:
@@ -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)
|
||||||
City.serializeForClientMsg(city, temp);
|
try {
|
||||||
|
City.serializeForClientMsg(city, temp);
|
||||||
|
}catch(Exception e){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
temp.put((byte) 0); // PAD
|
temp.put((byte) 0); // PAD
|
||||||
|
|
||||||
// Serialize runegates
|
// Serialize runegates
|
||||||
|
|||||||
Reference in New Issue
Block a user