Mirror von
https://github.com/Moulberry/AxiomPaperPlugin.git
synchronisiert 2024-11-17 05:40:06 +01:00
Fix biome buffer checking wrong coordinates
Dieser Commit ist enthalten in:
Ursprung
00e11bfe79
Commit
3ee22ddd4b
@ -358,7 +358,7 @@ public class SetBlockBufferPacketListener {
|
|||||||
PalettedContainer<Holder<Biome>> container = (PalettedContainer<Holder<Biome>>) section.getBiomes();
|
PalettedContainer<Holder<Biome>> container = (PalettedContainer<Holder<Biome>>) section.getBiomes();
|
||||||
|
|
||||||
if (!Integration.canPlaceBlock(player.getBukkitEntity(),
|
if (!Integration.canPlaceBlock(player.getBukkitEntity(),
|
||||||
new Location(player.getBukkitEntity().getWorld(), x+1, y+1, z+1))) return;
|
new Location(player.getBukkitEntity().getWorld(), (x<<2)+1, (y<<2)+1, (z<<2)+1))) return;
|
||||||
|
|
||||||
container.set(x & 3, y & 3, z & 3, holder.get());
|
container.set(x & 3, y & 3, z & 3, holder.get());
|
||||||
changedChunks.add(chunk);
|
changedChunks.add(chunk);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren