mirror of https://github.com/cabaletta/baritone
Fixed cached chunks not loading from file properly
This commit is contained in:
parent
f047dd08b0
commit
8b63a3adad
|
@ -46,7 +46,7 @@ public final class CachedChunk implements IBlockTypeAccess {
|
|||
private final BitSet data;
|
||||
|
||||
CachedChunk(int x, int z, BitSet data) {
|
||||
if (data.size() != SIZE)
|
||||
if (data.size() > SIZE)
|
||||
throw new IllegalArgumentException("BitSet of invalid length provided");
|
||||
|
||||
this.x = x;
|
||||
|
|
Loading…
Reference in New Issue