Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-26 00:00:28 +01:00
Correct directPallette check (Thanks @Pokechu22)
Dieser Commit ist enthalten in:
Ursprung
c3eaf5a1b0
Commit
dfd18d64c2
@ -123,7 +123,7 @@ public class ChunkSection1_13 implements ChunkSection {
|
|||||||
if (bitsPerBlock < 4) {
|
if (bitsPerBlock < 4) {
|
||||||
bitsPerBlock = 4;
|
bitsPerBlock = 4;
|
||||||
}
|
}
|
||||||
if (bitsPerBlock > 9) {
|
if (bitsPerBlock >= 9) {
|
||||||
directPalette = true;
|
directPalette = true;
|
||||||
bitsPerBlock = 14;
|
bitsPerBlock = 14;
|
||||||
}
|
}
|
||||||
@ -234,7 +234,7 @@ public class ChunkSection1_13 implements ChunkSection {
|
|||||||
bitsPerBlock++;
|
bitsPerBlock++;
|
||||||
}
|
}
|
||||||
boolean directPalette = false;
|
boolean directPalette = false;
|
||||||
if (bitsPerBlock > 9) {
|
if (bitsPerBlock >= 9) {
|
||||||
bitsPerBlock = 14;
|
bitsPerBlock = 14;
|
||||||
directPalette = true;
|
directPalette = true;
|
||||||
}
|
}
|
||||||
|
@ -257,7 +257,7 @@ public class ChunkSection1_9_3_4 implements ChunkSection {
|
|||||||
bitsPerBlock++;
|
bitsPerBlock++;
|
||||||
}
|
}
|
||||||
boolean directPalette = false;
|
boolean directPalette = false;
|
||||||
if (bitsPerBlock > 9) {
|
if (bitsPerBlock >= 9) {
|
||||||
bitsPerBlock = 14;
|
bitsPerBlock = 14;
|
||||||
directPalette = true;
|
directPalette = true;
|
||||||
}
|
}
|
||||||
|
@ -249,7 +249,7 @@ public class ChunkSection1_9_1_2 implements ChunkSection {
|
|||||||
bitsPerBlock++;
|
bitsPerBlock++;
|
||||||
}
|
}
|
||||||
boolean directPalette = false;
|
boolean directPalette = false;
|
||||||
if (bitsPerBlock > 9) {
|
if (bitsPerBlock >= 9) {
|
||||||
bitsPerBlock = 14;
|
bitsPerBlock = 14;
|
||||||
directPalette = true;
|
directPalette = true;
|
||||||
}
|
}
|
||||||
|
@ -156,7 +156,7 @@ public class ChunkSection1_9to1_8 implements ChunkSection {
|
|||||||
bitsPerBlock++;
|
bitsPerBlock++;
|
||||||
}
|
}
|
||||||
boolean directPalette = false;
|
boolean directPalette = false;
|
||||||
if (bitsPerBlock > 9) {
|
if (bitsPerBlock >= 9) {
|
||||||
bitsPerBlock = 14;
|
bitsPerBlock = 14;
|
||||||
directPalette = true;
|
directPalette = true;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren