From 8a67b06c948ea35fee18853b7b19e2b0d064f60f Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sat, 28 Sep 2024 21:49:06 +0200 Subject: using default parameters --- src/main/java/at/hannibal2/skyhanni/events/hoppity/EggFoundEvent.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/events/hoppity') diff --git a/src/main/java/at/hannibal2/skyhanni/events/hoppity/EggFoundEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/hoppity/EggFoundEvent.kt index 2cd81811f..30cd282ac 100644 --- a/src/main/java/at/hannibal2/skyhanni/events/hoppity/EggFoundEvent.kt +++ b/src/main/java/at/hannibal2/skyhanni/events/hoppity/EggFoundEvent.kt @@ -5,6 +5,6 @@ import at.hannibal2.skyhanni.features.event.hoppity.HoppityEggType class EggFoundEvent( val type: HoppityEggType, - val slotIndex: Int?, - val note: String?, + val slotIndex: Int? = null, + val note: String? = null, ) : SkyHanniEvent() -- cgit