Fixed lag during border check state

This commit is contained in:
Unknown 2018-05-13 18:00:49 +02:00
parent 9d41d39a6c
commit 162ff70584

View file

@ -270,7 +270,8 @@ public class JumpShip {
final Block block = worldObj.getBlock(x, y, z);
// Skipping any air block & ignored blocks
if (worldObj.isAirBlock(x, y, z) || Dictionary.BLOCKS_LEFTBEHIND.contains(block)) {
if ( block.isAir(worldObj, x, y, z)
|| Dictionary.BLOCKS_LEFTBEHIND.contains(block) ) {
continue;
}