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

View File

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