Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 13:00:06 +01:00
SPIGOT-2890: SetBiome not saving changes
Dieser Commit ist enthalten in:
Ursprung
8c4397207f
Commit
9dee10873d
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren