oh look and another bug
This commit is contained in:
parent
44ece7c510
commit
ef4de2b159
@ -86,10 +86,10 @@ public class BlockStateInterface implements Helper {
|
||||
CachedRegion region = world.cache.getRegion(x >> 9, z >> 9);
|
||||
if (region != null) {
|
||||
prevCached = region;
|
||||
}
|
||||
IBlockState type = region.getBlock(x & 511, y, z & 511);
|
||||
if (type != null) {
|
||||
return type;
|
||||
IBlockState type = region.getBlock(x & 511, y, z & 511);
|
||||
if (type != null) {
|
||||
return type;
|
||||
}
|
||||
}
|
||||
}
|
||||
return AIR;
|
||||
|
Loading…
Reference in New Issue
Block a user