mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-10 17:42:16 +01:00
SPIGOT-2890: SetBiome not saving changes
By: md_5 <git@md-5.net>
This commit is contained in:
parent
db5c1e3e66
commit
e40bffa82a
@ -597,6 +597,8 @@ public class CraftWorld implements World {
|
|||||||
if (chunk != null) {
|
if (chunk != null) {
|
||||||
byte[] biomevals = chunk.getBiomeIndex();
|
byte[] biomevals = chunk.getBiomeIndex();
|
||||||
biomevals[((z & 0xF) << 4) | (x & 0xF)] = (byte) BiomeBase.REGISTRY_ID.a(bb);
|
biomevals[((z & 0xF) << 4) | (x & 0xF)] = (byte) BiomeBase.REGISTRY_ID.a(bb);
|
||||||
|
|
||||||
|
chunk.e(); // SPIGOT-2890 // PAIL: markDirty
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user