aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DungeonNpcProfitOverlay.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DungeonNpcProfitOverlay.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DungeonNpcProfitOverlay.java10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DungeonNpcProfitOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DungeonNpcProfitOverlay.java
index 711d5235..c4b03b84 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DungeonNpcProfitOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/DungeonNpcProfitOverlay.java
@@ -221,15 +221,7 @@ public class DungeonNpcProfitOverlay {
int mouseY = Utils.getMouseY();
if (Utils.isWithinRect(mouseX, mouseY, x, y, 160, 10))
- Utils.drawHoveringText(
- chestProfit.lore,
- mouseX,
- mouseY,
- width,
- height,
- -1,
- Minecraft.getMinecraft().fontRendererObj
- );
+ Utils.drawHoveringText(chestProfit.lore, mouseX, mouseY, width, height, -1);
}
}