aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/events/OutgoingPacketEvent.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/events/OutgoingPacketEvent.kt')
-rw-r--r--src/main/kotlin/events/OutgoingPacketEvent.kt9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/kotlin/events/OutgoingPacketEvent.kt b/src/main/kotlin/events/OutgoingPacketEvent.kt
new file mode 100644
index 0000000..93890ea
--- /dev/null
+++ b/src/main/kotlin/events/OutgoingPacketEvent.kt
@@ -0,0 +1,9 @@
+
+
+package moe.nea.firmament.events
+
+import net.minecraft.network.packet.Packet
+
+data class OutgoingPacketEvent(val packet: Packet<*>) : FirmamentEvent.Cancellable() {
+ companion object : FirmamentEventBus<OutgoingPacketEvent>()
+}