3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-03 14:50:30 +01:00

Temporary force biomes to be ocean

Dieser Commit ist enthalten in:
Myles 2018-07-18 23:19:13 +01:00
Ursprung dfd18d64c2
Commit 17564506b5

Datei anzeigen

@ -58,7 +58,7 @@ public class Chunk1_13Type extends PartialType<Chunk, ClientWorld> {
if (groundUp) { if (groundUp) {
for (int i = 0; i < 256; i++){ for (int i = 0; i < 256; i++){
// todo use int in Chunk? // todo use int in Chunk?
biomeData[i] = (byte) input.readInt(); biomeData[i] = 0;
} }
} }
@ -101,7 +101,7 @@ public class Chunk1_13Type extends PartialType<Chunk, ClientWorld> {
// Write biome data // Write biome data
if (chunk.isBiomeData()) { if (chunk.isBiomeData()) {
for (byte value : chunk.getBiomeData()) { for (byte value : chunk.getBiomeData()) {
output.writeInt(value & 0xFF); output.writeInt(0); // This is a temporary workaround, we'll look into fixing this soon :)
} }
} }