Compatibility fix with older v3 clients

This commit is contained in:
kuroppoi 2022-01-13 03:04:34 +01:00
parent 4a416425ab
commit c5d0e51bd5

View file

@ -2,6 +2,7 @@ package brainwine.gameserver.server.messages;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import brainwine.gameserver.server.Message;
@ -25,7 +26,7 @@ public class ZoneSearchMessage extends Message {
info.add(zone.getName());
info.add(zone.getPlayers().size());
info.add(0); // followees count
info.add(null); // followees
info.add(Collections.EMPTY_LIST); // followees
info.add(0); // active duration
info.add((int)(zone.getExplorationProgress() * 100));
info.add(zone.getBiome());