fix so that test pass
#story[1188]
This commit is contained in:
@@ -22,7 +22,7 @@ public class HostedGamesRequestDecoder implements MessageDecoder{
|
|||||||
int byteIndex = 4;
|
int byteIndex = 4;
|
||||||
for (int i = 0; i < numberOfGames; i++){
|
for (int i = 0; i < numberOfGames; i++){
|
||||||
knownGames.add((HostGame) lineDecoder.decode(Arrays.copyOfRange(encodedMessage, byteIndex, byteIndex+14)));
|
knownGames.add((HostGame) lineDecoder.decode(Arrays.copyOfRange(encodedMessage, byteIndex, byteIndex+14)));
|
||||||
byteIndex += 14;
|
byteIndex += 13;
|
||||||
}
|
}
|
||||||
|
|
||||||
return new HostGamesRequest(knownGames);
|
return new HostGamesRequest(knownGames);
|
||||||
|
|||||||
Reference in New Issue
Block a user