[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 class ForgeWorld extends AbstractWorld {
return false; return false;
} }
chunk.getBiomes()[((position.getBlockZ() & 0xF) << 4 | position.getBlockX() & 0xF)] = ForgeAdapter.adapt(biome); chunk.getBiomes()[((position.getBlockZ() & 0xF) << 4 | position.getBlockX() & 0xF)] = ForgeAdapter.adapt(biome);
chunk.setModified(true);
return true; return true;
} }