Rename .getLastLocation --> .getCurrentChunk

This commit is contained in:
Olof Larsson
2013-04-11 11:27:04 +02:00
parent a34e2be362
commit 75a5764b4f
7 changed files with 26 additions and 26 deletions

View File

@@ -42,11 +42,11 @@ public class BoardMapAdapter implements JsonDeserializer<Map<PS, TerritoryAccess
String[] ChunkCoordParts = entry.getKey().split("[,\\s]+");
int chunkX = Integer.parseInt(ChunkCoordParts[0]);
int chunkZ = Integer.parseInt(ChunkCoordParts[1]);
PS ps = new PSBuilder().chunkX(chunkX).chunkZ(chunkZ).build();
PS chunk = PS.valueOf(chunkX, chunkZ);
TerritoryAccess territoryAccess = context.deserialize(entry.getValue(), TerritoryAccess.class);
ret.put(ps, territoryAccess);
ret.put(chunk, territoryAccess);
}
return ret;