use built in world method to check if block is loaded
@@ -345,7 +345,7 @@ public class Coord4D
*/
public boolean exists(World world)
{
- return world.getChunkProvider() == null || world.getChunkProvider().getLoadedChunk(x >> 4, z >> 4) != null;
+ return world.isBlockLoaded(new BlockPos(x, y, z));//world.getChunkProvider() == null || world.getChunkProvider().getLoadedChunk(x >> 4, z >> 4) != null;
}
/**
