geforkt von Mirrors/AxiomPaperPlugin
Dieser Commit ist enthalten in:
Ursprung
a892c966a3
Commit
28823b19aa
@ -87,8 +87,8 @@ public class SetBlockBufferPacketListener implements AxiomPacketListener {
|
||||
private void applyBiomeBuffer(World world, BiomeBuffer biomeBuffer) {
|
||||
Set<Chunk> changedChunks = new HashSet<>();
|
||||
biomeBuffer.forEachEntry((x, y, z, biome) -> {
|
||||
world.setBiome(x << 2, y << 2, z << 2, biome);
|
||||
changedChunks.add(world.getChunkAt(x << 2, z << 2));
|
||||
world.setBiome(x*4, y*4, z*4, biome);
|
||||
changedChunks.add(world.getChunkAt(x*4, z*4));
|
||||
});
|
||||
|
||||
ServerLevel level = AxiomPaper.convert(world);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren