diff options
| author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-09-28 21:59:37 +0200 |
|---|---|---|
| committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-09-28 21:59:37 +0200 |
| commit | dd73bec2905517ebeaba5378e0a53ea228dffc33 (patch) | |
| tree | b5c31870d5da08161f079cd3ba5440fe79d5175b /src/main/java/at/hannibal2/skyhanni/features | |
| parent | 3a2b67ef9adb2049e00f4d4e18aa8b5b681df2aa (diff) | |
| download | SkyHanni-dd73bec2905517ebeaba5378e0a53ea228dffc33.tar.gz SkyHanni-dd73bec2905517ebeaba5378e0a53ea228dffc33.tar.bz2 SkyHanni-dd73bec2905517ebeaba5378e0a53ea228dffc33.zip | |
fixed stats tuning display
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/StatsTuning.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/StatsTuning.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/StatsTuning.kt index d25c2a0eb..bc1a5c9fd 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/StatsTuning.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/StatsTuning.kt @@ -2,7 +2,7 @@ package at.hannibal2.skyhanni.features.inventory import at.hannibal2.skyhanni.SkyHanniMod import at.hannibal2.skyhanni.events.GuiContainerEvent -import at.hannibal2.skyhanni.events.RenderItemTipEvent +import at.hannibal2.skyhanni.events.RenderInventoryItemTipEvent import at.hannibal2.skyhanni.utils.InventoryUtils import at.hannibal2.skyhanni.utils.ItemUtils.getLore import at.hannibal2.skyhanni.utils.ItemUtils.name @@ -21,7 +21,7 @@ class StatsTuning { private val patternStatPoints = Pattern.compile("§7Stat has: §e(\\d+) point(s)?") @SubscribeEvent - fun onRenderItemTip(event: RenderItemTipEvent) { + fun onRenderItemTip(event: RenderInventoryItemTipEvent) { val screen = Minecraft.getMinecraft().currentScreen if (screen !is GuiChest) return val chest = screen.inventorySlots as ContainerChest |
