fix so that test pass

#story[1188]
main
hba56 8 years ago
parent 83f756d7d8
commit 960b1213fb

@ -22,7 +22,7 @@ public class HostedGamesRequestDecoder implements MessageDecoder{
int byteIndex = 4;
for (int i = 0; i < numberOfGames; i++){
knownGames.add((HostGame) lineDecoder.decode(Arrays.copyOfRange(encodedMessage, byteIndex, byteIndex+14)));
byteIndex += 14;
byteIndex += 13;
}
return new HostGamesRequest(knownGames);

Loading…
Cancel
Save