diff options
author | Roman / Linnea Gräf <roman.graef@gmail.com> | 2023-07-06 01:53:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-06 09:53:07 +1000 |
commit | 3aa6d8ce069902f81a341ccb5d33fc76f7274935 (patch) | |
tree | eae5ef2fd69dc8c81ab2c4c5d183dd5d7d91d9fe /src/main | |
parent | 3ee496ecb794c4b7073d77e2074644104d0a5eeb (diff) | |
download | NotEnoughUpdates-3aa6d8ce069902f81a341ccb5d33fc76f7274935.tar.gz NotEnoughUpdates-3aa6d8ce069902f81a341ccb5d33fc76f7274935.tar.bz2 NotEnoughUpdates-3aa6d8ce069902f81a341ccb5d33fc76f7274935.zip |
Add detekt rules (#750)
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/WardrobeMouseButtons.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/WardrobeMouseButtons.kt b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/WardrobeMouseButtons.kt index f38d3752..f91e8d6e 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/WardrobeMouseButtons.kt +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/WardrobeMouseButtons.kt @@ -52,6 +52,7 @@ class WardrobeMouseButtons { checkKeybinds(event) } + @Suppress("InvalidSubscribeEvent") private fun checkKeybinds(event: GuiScreenEvent) { if (!NotEnoughUpdates.INSTANCE.config.wardrobeKeybinds.enableWardrobeKeybinds || !NotEnoughUpdates.INSTANCE.hasSkyblockScoreboard()) return val gui = event.gui as? GuiChest ?: return |