From 8993ab9785e7240750664c6b2659808e541ffc8c Mon Sep 17 00:00:00 2001 From: Blade <98755526+INotBLADE@users.noreply.github.com> Date: Mon, 12 Dec 2022 02:16:56 +0200 Subject: [PATCH] Fix Cape equal check (#430) --- src/main/kotlin/com/lambda/client/capeapi/DataClasses.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/lambda/client/capeapi/DataClasses.kt b/src/main/kotlin/com/lambda/client/capeapi/DataClasses.kt index 5d2fd6b57..11d57a2c4 100644 --- a/src/main/kotlin/com/lambda/client/capeapi/DataClasses.kt +++ b/src/main/kotlin/com/lambda/client/capeapi/DataClasses.kt @@ -33,7 +33,7 @@ data class Cape( return this === other || other is Cape && other.capeUUID == capeUUID - && other.type == other.type + && other.type == type } override fun hashCode(): Int {