diff options
| author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2024-10-28 02:00:41 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-27 15:00:41 +0000 |
| commit | ed924d10fe10e89ac58299f8a4c60b970b400be1 (patch) | |
| tree | 43f2392e3f34790250ffb2af548580816a3c84be | |
| parent | 519629cfb9b8f33ca06aae5f7db8ef601cef68f8 (diff) | |
| download | SkyHanni-ed924d10fe10e89ac58299f8a4c60b970b400be1.tar.gz SkyHanni-ed924d10fe10e89ac58299f8a4c60b970b400be1.tar.bz2 SkyHanni-ed924d10fe10e89ac58299f8a4c60b970b400be1.zip | |
Backend: Data Class (#2840)
| -rw-r--r-- | build.gradle.kts | 12 |
1 files changed, 1 insertions, 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 } |
