public boolean isChunkOnList (int chunkX, int chunkY)
    {
        for (Chunk chunk : getChunks()) {
            if (chunk != null && chunk.x == chunkX && chunk.y == chunkY) return true;
        }
        List<Chunk> loading = new ArrayList<Chunk>(this.loading);
        for (Chunk chunk : loading) {
            if (chunk != null && chunk.x == chunkX && chunk.y == chunkY) return true;
        }
        return false;
    }