oh look and another bug

This commit is contained in:
Leijurv 2018-09-09 09:55:59 -07:00
parent 44ece7c510
commit ef4de2b159
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
1 changed files with 4 additions and 4 deletions

View File

@ -86,12 +86,12 @@ 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;
}
}
}
return AIR;
}