mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-25 11:35:18 +01:00
Use chunk section length for fallback biome array
This commit is contained in:
parent
b21de03710
commit
69609d536b
@ -98,7 +98,7 @@ public class WorldPackets {
|
||||
chunk.setBiomeData(biomes);
|
||||
} else {
|
||||
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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user