Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-29 01:20:15 +01:00
Use chunk section length for fallback biome array
Dieser Commit ist enthalten in:
Ursprung
b21de03710
Commit
69609d536b
@ -98,7 +98,7 @@ public class WorldPackets {
|
|||||||
chunk.setBiomeData(biomes);
|
chunk.setBiomeData(biomes);
|
||||||
} else {
|
} else {
|
||||||
Via.getPlatform().getLogger().warning("Biome data not found for chunk at " + chunk.getX() + ", " + chunk.getZ());
|
Via.getPlatform().getLogger().warning("Biome data not found for chunk at " + chunk.getX() + ", " + chunk.getZ());
|
||||||
chunk.setBiomeData(new int[1024]);
|
chunk.setBiomeData(new int[chunk.getSections().length * 64]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren