Refactor source layout
Introduce compat source sets and move all kotlin sources to the main directory [no changelog]
This commit is contained in:
15
src/main/kotlin/events/SkyblockServerUpdateEvent.kt
Normal file
15
src/main/kotlin/events/SkyblockServerUpdateEvent.kt
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
|
||||
package moe.nea.firmament.events
|
||||
|
||||
import moe.nea.firmament.util.Locraw
|
||||
|
||||
/**
|
||||
* This event gets published whenever `/locraw` is queried and HyPixel returns a location different to the old one.
|
||||
*
|
||||
* **N.B.:** This event may get fired multiple times while on the server (for example, first to null, then to the
|
||||
* correct location).
|
||||
*/
|
||||
data class SkyblockServerUpdateEvent(val oldLocraw: Locraw?, val newLocraw: Locraw?) : FirmamentEvent() {
|
||||
companion object : FirmamentEventBus<SkyblockServerUpdateEvent>()
|
||||
}
|
||||
Reference in New Issue
Block a user