Skip to content

Commit

Permalink
[Forge] Mark chunks for save after editing biomes
Browse files Browse the repository at this point in the history
  • Loading branch information
octylFractal committed Aug 3, 2019
1 parent 9a133c0 commit 5f5c067
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -258,6 +258,7 @@ public boolean setBiome(BlockVector2 position, BiomeType biome) {
return false;
}
chunk.getBiomes()[((position.getBlockZ() & 0xF) << 4 | position.getBlockX() & 0xF)] = ForgeAdapter.adapt(biome);
chunk.setModified(true);
return true;
}

Expand Down

0 comments on commit 5f5c067

Please sign in to comment.