Skip to content

Commit

Permalink
actually use seed in mazes
Browse files Browse the repository at this point in the history
  • Loading branch information
LudoCrypt committed Jul 8, 2022
1 parent b4222d3 commit 835c8f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public void generateMaze(BlockPos pos, Chunk chunk, ChunkRegion region, C chunkG
if (this.mazes.containsKey(mazePos)) {
maze = this.mazes.get(mazePos);
} else {
maze = this.newMaze(mazePos, region, chunk, chunkGenerator, redundancy ? width + 4 : width, redundancy ? height + 4 : height, Random.create(blockSeed(mazePos.getX(), mazePos.getZ(), seedModifier)));
maze = this.newMaze(mazePos, region, chunk, chunkGenerator, redundancy ? width + 4 : width, redundancy ? height + 4 : height, Random.create(blockSeed(mazePos.getX(), mazePos.getZ(), region.getSeed() + seedModifier)));
this.mazes.put(mazePos, maze);
}

Expand Down

0 comments on commit 835c8f8

Please sign in to comment.