Skip to content

Commit

Permalink
Improve tooltip gathering
Browse files Browse the repository at this point in the history
  • Loading branch information
mezz committed Nov 4, 2016
1 parent 5be19a3 commit 35cd6bb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/mezz/jei/util/FakeClientWorld.java
Expand Up @@ -2,6 +2,8 @@

import javax.annotation.Nullable;

import net.minecraft.block.state.IBlockState;
import net.minecraft.init.Blocks;
import net.minecraft.profiler.Profiler;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.DimensionType;
Expand Down Expand Up @@ -49,6 +51,11 @@ public BlockPos getSpawnPoint() {
return new BlockPos(0, 0, 0);
}

@Override
public IBlockState getBlockState(BlockPos pos) {
return Blocks.AIR.getDefaultState();
}

@Override
protected IChunkProvider createChunkProvider() {
return new IChunkProvider() {
Expand Down

0 comments on commit 35cd6bb

Please sign in to comment.