aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin
diff options
context:
space:
mode:
authorWalker Selby <git@walkerselby.com>2023-10-05 23:53:59 +0100
committerGitHub <noreply@github.com>2023-10-06 00:53:59 +0200
commit577079c61af5d6c94fe5db5bbe959887de245042 (patch)
tree845ef3f8267e4eec669adcb562512ea5b5126c72 /src/main/kotlin
parent4b36a86931363b93f1bbef84cd3d1409978d648a (diff)
downloadNotEnoughUpdates-577079c61af5d6c94fe5db5bbe959887de245042.tar.gz
NotEnoughUpdates-577079c61af5d6c94fe5db5bbe959887de245042.tar.bz2
NotEnoughUpdates-577079c61af5d6c94fe5db5bbe959887de245042.zip
Code Cleanup: Remove unused imports (#858)
Diffstat (limited to 'src/main/kotlin')
-rw-r--r--src/main/kotlin/io/github/moulberry/notenoughupdates/commands/help/LinksCommand.kt1
-rw-r--r--src/main/kotlin/io/github/moulberry/notenoughupdates/events/DrawSlotReturnEvent.kt5
-rw-r--r--src/main/kotlin/io/github/moulberry/notenoughupdates/util/hypixelapi/HypixelItemAPI.kt1
-rw-r--r--src/main/kotlin/io/github/moulberry/notenoughupdates/util/kotlin/KotlinTypeAdapterFactory.kt1
4 files changed, 0 insertions, 8 deletions
diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/help/LinksCommand.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/help/LinksCommand.kt
index 957948ae..7a47da2b 100644
--- a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/help/LinksCommand.kt
+++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/help/LinksCommand.kt
@@ -23,7 +23,6 @@ import io.github.moulberry.notenoughupdates.NotEnoughUpdates
import io.github.moulberry.notenoughupdates.autosubscribe.NEUAutoSubscribe
import io.github.moulberry.notenoughupdates.events.RegisterBrigadierCommandEvent
import io.github.moulberry.notenoughupdates.util.Utils
-import io.github.moulberry.notenoughupdates.util.brigadier.reply
import io.github.moulberry.notenoughupdates.util.brigadier.thenExecute
import io.github.moulberry.notenoughupdates.util.brigadier.withHelp
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/events/DrawSlotReturnEvent.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/events/DrawSlotReturnEvent.kt
index 43ff56f4..20fc4c5a 100644
--- a/src/main/kotlin/io/github/moulberry/notenoughupdates/events/DrawSlotReturnEvent.kt
+++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/events/DrawSlotReturnEvent.kt
@@ -20,10 +20,5 @@
package io.github.moulberry.notenoughupdates.events
import net.minecraft.inventory.Slot
-import net.minecraft.item.ItemStack
-import net.minecraft.nbt.CompressedStreamTools
-import java.io.ByteArrayInputStream
-import java.io.ByteArrayOutputStream
-import java.util.*
data class DrawSlotReturnEvent(val slot: Slot) : NEUEvent()
diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/util/hypixelapi/HypixelItemAPI.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/util/hypixelapi/HypixelItemAPI.kt
index acb2b53f..d1e72755 100644
--- a/src/main/kotlin/io/github/moulberry/notenoughupdates/util/hypixelapi/HypixelItemAPI.kt
+++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/util/hypixelapi/HypixelItemAPI.kt
@@ -20,7 +20,6 @@
package io.github.moulberry.notenoughupdates.util.hypixelapi
import com.google.gson.JsonElement
-import com.google.gson.annotations.SerializedName
import io.github.moulberry.notenoughupdates.NotEnoughUpdates
import io.github.moulberry.notenoughupdates.util.kotlin.ExtraData
import io.github.moulberry.notenoughupdates.util.kotlin.KSerializable
diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/util/kotlin/KotlinTypeAdapterFactory.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/util/kotlin/KotlinTypeAdapterFactory.kt
index e531364a..7552cb8e 100644
--- a/src/main/kotlin/io/github/moulberry/notenoughupdates/util/kotlin/KotlinTypeAdapterFactory.kt
+++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/util/kotlin/KotlinTypeAdapterFactory.kt
@@ -20,7 +20,6 @@
package io.github.moulberry.notenoughupdates.util.kotlin
import com.google.gson.*
-import com.google.gson.annotations.SerializedName
import com.google.gson.reflect.TypeToken
import com.google.gson.stream.JsonReader
import com.google.gson.stream.JsonToken