[Forge] Mark chunks for save after editing biomes

This commit is contained in:
Kenzie Togami 2019-08-02 20:39:24 -07:00
parent 9a133c05d1
commit 5f5c067081
No known key found for this signature in database
GPG Key ID: 5D200B325E157A81

View File

@ -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;
}