fix so that test pass

#story[1188]
This commit is contained in:
hba56
2017-08-30 15:31:28 +12:00
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);