diff options
author | Linnea Gräf <nea@nea.moe> | 2024-10-07 15:08:18 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-10-07 15:08:18 +0200 |
commit | daa63bd914a2f6c5e9b668abb8474884685ee818 (patch) | |
tree | af0d6394023d602c92acec109b5cb405c99d38f8 /src/main/kotlin/events/ProfileSwitchEvent.kt | |
parent | a8d5fed7d2994f86affb46774a463bb063a36c2b (diff) | |
download | firmament-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.kt | 7 |
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>() +} |