mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-22 08:15:05 +01:00
SPIGOT-2890: SetBiome not saving changes
This commit is contained in:
parent
8c4397207f
commit
9dee10873d
1 changed files with 2 additions and 0 deletions
|
@ -597,6 +597,8 @@ public class CraftWorld implements World {
|
|||
if (chunk != null) {
|
||||
byte[] biomevals = chunk.getBiomeIndex();
|
||||
biomevals[((z & 0xF) << 4) | (x & 0xF)] = (byte) BiomeBase.REGISTRY_ID.a(bb);
|
||||
|
||||
chunk.e(); // SPIGOT-2890 // PAIL: markDirty
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue