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);
|
CachedRegion region = world.cache.getRegion(x >> 9, z >> 9);
|
||||||
if (region != null) {
|
if (region != null) {
|
||||||
prevCached = region;
|
prevCached = region;
|
||||||
}
|
IBlockState type = region.getBlock(x & 511, y, z & 511);
|
||||||
IBlockState type = region.getBlock(x & 511, y, z & 511);
|
if (type != null) {
|
||||||
if (type != null) {
|
return type;
|
||||||
return type;
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return AIR;
|
return AIR;
|
||||||
|
Loading…
Reference in New Issue
Block a user