Skip to content

Commit

Permalink
Finally make propick overlay hide with F3 up
Browse files Browse the repository at this point in the history
  • Loading branch information
oitsjustjose committed Feb 19, 2019
1 parent 07a1ee6 commit 72d449e
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ public EnumActionResult onItemUse(EntityPlayer player, World worldIn, BlockPos p
if (oreFound != null)
{
player.sendStatusMessage(
new TextComponentTranslation("geolosys.pro_pick.tooltip.found_surface", oreFound), true);
new TextComponentTranslation("geolosys.pro_pick.tooltip.found_surface", found), true);
}
else
{
Expand Down Expand Up @@ -355,7 +355,9 @@ private void sendFoundMessage(EntityPlayer player, IBlockState state, EnumFacing
public void onDrawScreen(RenderGameOverlayEvent.Post event)
{
if (event.getType() != RenderGameOverlayEvent.ElementType.ALL
|| Minecraft.getMinecraft().debugRenderer.shouldRender())
|| Minecraft.getMinecraft().debugRenderer.shouldRender()
|| Minecraft.getMinecraft().gameSettings.showDebugInfo
|| Minecraft.getMinecraft().gameSettings.showDebugProfilerChart)
{
return;
}
Expand Down

0 comments on commit 72d449e

Please sign in to comment.