From ed924d10fe10e89ac58299f8a4c60b970b400be1 Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Mon, 28 Oct 2024 02:00:41 +1100 Subject: Backend: Data Class (#2840) --- build.gradle.kts | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index e03158212..cbd8eda3a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -444,15 +444,5 @@ abstract class ShotApplicationJarProcessor @Inject constructor(private val shots override fun getName(): String = "Shots" - private class ShotSpec(val shots: Shots) : MinecraftJarProcessor.Spec, Serializable { - override fun equals(other: Any?): Boolean { - if (this === other) return true - if (other !is ShotSpec) return false - return shots == other.shots - } - - override fun hashCode(): Int { - return shots.hashCode() - } - } + private data class ShotSpec(val shots: Shots) : MinecraftJarProcessor.Spec, Serializable } -- cgit