From daa63bd914a2f6c5e9b668abb8474884685ee818 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Mon, 7 Oct 2024 15:08:18 +0200 Subject: Fix drill ability cooldown resetting on world swap --- src/main/kotlin/events/ProfileSwitchEvent.kt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/main/kotlin/events/ProfileSwitchEvent.kt (limited to 'src/main/kotlin/events/ProfileSwitchEvent.kt') diff --git a/src/main/kotlin/events/ProfileSwitchEvent.kt b/src/main/kotlin/events/ProfileSwitchEvent.kt new file mode 100644 index 0000000..683b7dd --- /dev/null +++ b/src/main/kotlin/events/ProfileSwitchEvent.kt @@ -0,0 +1,7 @@ +package moe.nea.firmament.events + +import java.util.UUID + +data class ProfileSwitchEvent(val oldProfile: UUID?, val newProfile: UUID?) : FirmamentEvent() { + companion object : FirmamentEventBus() +} -- cgit