aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/events/ProfileSwitchEvent.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-10-07 15:08:18 +0200
committerLinnea Gräf <nea@nea.moe>2024-10-07 15:08:18 +0200
commitdaa63bd914a2f6c5e9b668abb8474884685ee818 (patch)
treeaf0d6394023d602c92acec109b5cb405c99d38f8 /src/main/kotlin/events/ProfileSwitchEvent.kt
parenta8d5fed7d2994f86affb46774a463bb063a36c2b (diff)
downloadFirmament-daa63bd914a2f6c5e9b668abb8474884685ee818.tar.gz
Firmament-daa63bd914a2f6c5e9b668abb8474884685ee818.tar.bz2
Firmament-daa63bd914a2f6c5e9b668abb8474884685ee818.zip
Fix drill ability cooldown resetting on world swap
Diffstat (limited to 'src/main/kotlin/events/ProfileSwitchEvent.kt')
-rw-r--r--src/main/kotlin/events/ProfileSwitchEvent.kt7
1 files changed, 7 insertions, 0 deletions
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<ProfileSwitchEvent>()
+}