aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2024-10-28 02:00:41 +1100
committerGitHub <noreply@github.com>2024-10-27 15:00:41 +0000
commited924d10fe10e89ac58299f8a4c60b970b400be1 (patch)
tree43f2392e3f34790250ffb2af548580816a3c84be
parent519629cfb9b8f33ca06aae5f7db8ef601cef68f8 (diff)
downloadSkyHanni-ed924d10fe10e89ac58299f8a4c60b970b400be1.tar.gz
SkyHanni-ed924d10fe10e89ac58299f8a4c60b970b400be1.tar.bz2
SkyHanni-ed924d10fe10e89ac58299f8a4c60b970b400be1.zip
Backend: Data Class (#2840)
-rw-r--r--build.gradle.kts12
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
}