aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/test
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-03 14:14:01 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-03 14:14:01 +0200
commit18360356893db95f3fd49c19906ff18d19ea298a (patch)
treecb1f26e45cde4c43e5d240f9c61aa28ed2547866 /src/main/java/at/hannibal2/skyhanni/test
parenta6e143df4997bdd76115f6da60a6f19ab320a436 (diff)
downloadskyhanni-18360356893db95f3fd49c19906ff18d19ea298a.tar.gz
skyhanni-18360356893db95f3fd49c19906ff18d19ea298a.tar.bz2
skyhanni-18360356893db95f3fd49c19906ff18d19ea298a.zip
Renamed inventory open events to reflect their actual implementation better
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/test')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/test/TestCopyRngMeterValues.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/TestCopyRngMeterValues.kt b/src/main/java/at/hannibal2/skyhanni/test/TestCopyRngMeterValues.kt
index 7c858df7f..23b5d45ae 100644
--- a/src/main/java/at/hannibal2/skyhanni/test/TestCopyRngMeterValues.kt
+++ b/src/main/java/at/hannibal2/skyhanni/test/TestCopyRngMeterValues.kt
@@ -2,7 +2,7 @@ package at.hannibal2.skyhanni.test
import at.hannibal2.skyhanni.SkyHanniMod
import at.hannibal2.skyhanni.config.ConfigManager
-import at.hannibal2.skyhanni.events.InventoryOpenEvent
+import at.hannibal2.skyhanni.events.InventoryFullyOpenedEvent
import at.hannibal2.skyhanni.utils.ItemUtils.getInternalName
import at.hannibal2.skyhanni.utils.ItemUtils.getLore
import at.hannibal2.skyhanni.utils.LorenzUtils
@@ -14,7 +14,7 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
object TestCopyRngMeterValues {
@SubscribeEvent
- fun onInventoryOpen(event: InventoryOpenEvent) {
+ fun onInventoryOpen(event: InventoryFullyOpenedEvent) {
if (!SkyHanniMod.feature.dev.copyRngMeter) return
val map = mutableMapOf<String, Long>()