From 092a29dd8b13c2b04b0b7c259446ab697201dd5e Mon Sep 17 00:00:00 2001 From: David Cole <40234707+DavidArthurCole@users.noreply.github.com> Date: Thu, 26 Sep 2024 03:56:44 -0400 Subject: Backend: Dekekt (#2547) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Linnea Gräf Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Co-authored-by: Cal --- src/main/java/at/hannibal2/skyhanni/events/RenderItemTooltipEvent.kt | 5 +++++ src/main/java/at/hannibal2/skyhanni/events/RenderTooltipEvent.kt | 5 ----- .../experimentationtable/SuperpairExperimentInformationDisplay.kt | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 src/main/java/at/hannibal2/skyhanni/events/RenderItemTooltipEvent.kt delete mode 100644 src/main/java/at/hannibal2/skyhanni/events/RenderTooltipEvent.kt (limited to 'src/main/java/at/hannibal2') diff --git a/src/main/java/at/hannibal2/skyhanni/events/RenderItemTooltipEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/RenderItemTooltipEvent.kt new file mode 100644 index 000000000..f8cb98802 --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/events/RenderItemTooltipEvent.kt @@ -0,0 +1,5 @@ +package at.hannibal2.skyhanni.events + +import net.minecraft.item.ItemStack + +class RenderItemTooltipEvent(val stack: ItemStack) : LorenzEvent() diff --git a/src/main/java/at/hannibal2/skyhanni/events/RenderTooltipEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/RenderTooltipEvent.kt deleted file mode 100644 index ff9e6b448..000000000 --- a/src/main/java/at/hannibal2/skyhanni/events/RenderTooltipEvent.kt +++ /dev/null @@ -1,5 +0,0 @@ -package at.hannibal2.skyhanni.events - -import net.minecraft.item.ItemStack - -class RenderItemTooltipEvent(val stack: ItemStack) : LorenzEvent() \ No newline at end of file diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/experimentationtable/SuperpairExperimentInformationDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/experimentationtable/SuperpairExperimentInformationDisplay.kt index 86d7fca50..b1ee56659 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/experimentationtable/SuperpairExperimentInformationDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/experimentationtable/SuperpairExperimentInformationDisplay.kt @@ -31,7 +31,7 @@ object SuperpairExperimentInformationDisplay { data class Item(val index: Int, val name: String) data class ItemPair(val first: Item, val second: Item) - // TODO remove string. use enum instead! maybe even create new data type instaed of map of pairs + // TODO remove string. use enum instead! maybe even create new data type instead of map of pairs private var found = mutableMapOf, String>() private var toCheck = mutableListOf>() -- cgit