Revert "Fix lexicon npe, closes #94"

This reverts commit 6f6f330a5a.
This commit is contained in:
Vincent Lee committed 2016-02-07 21:50:53 -06:00
1 parent 3f5159fe75
commit 2ab491867e
1 file changed
+1 -2
@@ -11,7 +11,6 @@
package vazkii.botania.api.wiki;
import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.item.ItemStack;
import net.minecraft.util.BlockPos;
import net.minecraft.util.MovingObjectPosition;
@@ -54,7 +53,7 @@ public class SimpleWikiProvider implements IWikiProvider {
if(block == null)
return null;
ItemStack stack = block.getPickBlock(pos, world, bPos, Minecraft.getMinecraft().thePlayer);
ItemStack stack = block.getPickBlock(pos, world, bPos, null);
if(stack == null || stack.getItem() == null)
stack = new ItemStack(block, 1, block.getDamageValue(world, bPos));