mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-29 05:26:23 +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);
|
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]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user