We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1241fa6 commit 5d02a25Copy full SHA for 5d02a25
common/src/main/kotlin/com/lambda/event/events/ConnectionEvent.kt
@@ -8,10 +8,10 @@ import net.minecraft.text.Text
8
abstract class ConnectionEvent : Event {
9
class Connect(
10
val host: String,
11
- port: Int,
12
- listener: PacketListener,
13
- intent: ConnectionIntent,
+ val port: Int,
+ val listener: PacketListener,
+ val intent: ConnectionIntent,
14
) : ConnectionEvent()
15
16
class Disconnect(val reason: Text) : ConnectionEvent()
17
-}
+}
0 commit comments