matching table now stores the correct ip of the hosts

#story[1188]
This commit is contained in:
hba56
2017-08-31 13:55:16 +12:00
parent 9161f69547
commit a1fa09962a
3 changed files with 4 additions and 4 deletions
@@ -22,7 +22,7 @@ public class MatchTableTest {
public void testTable() {
HostGame entry = new HostGame("127.0.0.1", 4942, (byte)1, (byte)1, RaceStatusEnum.PRESTART, (byte)6, (byte)1);
testTable.addEntry(entry);
testTable.addEntry("127.0.0.1", 3779, entry);
assertEquals(testTable.getMatchTable().get(new TableKey("127.0.0.1", 4942)), Arrays.asList(1, 1, 2, 6, 1));
}