Skip to content

Commit

Permalink
Fix pv crash when in f7 (#366)
Browse files Browse the repository at this point in the history
Fix pv crash when your in f7???
  • Loading branch information
NopoTheGamer authored Oct 15, 2022
1 parent 42db45e commit df02add
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -767,9 +767,13 @@ public void printStackTrace() {

if (mouseX > x && mouseX < x + 28) {
if (mouseY > y && mouseY < y + 32) {
tooltipToDisplay = Collections.singletonList(iPage.stack
if (!iPage.stack
.getTooltip(Minecraft.getMinecraft().thePlayer, false)
.get(0));
.isEmpty()) {
tooltipToDisplay = Collections.singletonList(iPage.stack
.getTooltip(Minecraft.getMinecraft().thePlayer, false)
.get(0));
}
}
}
}
Expand Down

0 comments on commit df02add

Please sign in to comment.