3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-25 02:20:07 +01:00
Dieser Commit ist enthalten in:
Jesse Boyd 2019-04-14 21:46:57 +10:00
Ursprung fab197034e
Commit f6b844e53c
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 59F1DE6293AF6E1F
2 geänderte Dateien mit 3 neuen und 4 gelöschten Zeilen

Datei anzeigen

@ -137,8 +137,7 @@ public class BukkitChunk_1_13 extends IntFaweChunk<Chunk, BukkitQueue_1_13> {
} }
public ChunkSection copy(ChunkSection current) throws IllegalAccessException, InvocationTargetException, NoSuchFieldException { public ChunkSection copy(ChunkSection current) throws IllegalAccessException, InvocationTargetException, NoSuchFieldException {
int y = current.getYPosition(); ChunkSection newSection = new ChunkSection(current.getYPosition(), current.getSkyLightArray() != null);
ChunkSection newSection = new ChunkSection(y, current.getSkyLightArray() != null);
// Copy light // Copy light
NibbleArray skyLight = current.getSkyLightArray(); NibbleArray skyLight = current.getSkyLightArray();

Datei anzeigen

@ -844,9 +844,9 @@ public class BukkitQueue_1_13 extends BukkitQueue_0<net.minecraft.server.v1_13_R
public static ChunkSection newChunkSection(int y2, boolean flag, int[] blocks) { public static ChunkSection newChunkSection(int y2, boolean flag, int[] blocks) {
if (blocks == null) { if (blocks == null) {
return new ChunkSection(y2, flag); return new ChunkSection(y2 << 4, flag);
} else { } else {
ChunkSection section = new ChunkSection(y2, flag); ChunkSection section = new ChunkSection(y2 << 4, flag);
int[] blockToPalette = FaweCache.BLOCK_TO_PALETTE.get(); int[] blockToPalette = FaweCache.BLOCK_TO_PALETTE.get();
int[] paletteToBlock = FaweCache.PALETTE_TO_BLOCK.get(); int[] paletteToBlock = FaweCache.PALETTE_TO_BLOCK.get();