Skip to content
This repository was archived by the owner on Dec 10, 2025. It is now read-only.

Commit 25b2c70

Browse files
committed
feat: update RunningClientPacketListener to use CommonClientSynchronizingRunningPacketListener
1 parent 2e4004d commit 25b2c70

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

surf-cloud-core/surf-cloud-core-common/src/main/kotlin/dev/slne/surf/cloud/core/common/netty/network/protocol/running/RunningClientPacketListener.kt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ package dev.slne.surf.cloud.core.common.netty.network.protocol.running
33
import dev.slne.surf.cloud.api.common.netty.network.ConnectionProtocol
44
import dev.slne.surf.cloud.api.common.netty.packet.NettyPacket
55
import dev.slne.surf.cloud.core.common.netty.network.protocol.common.ClientCommonPacketListener
6-
import dev.slne.surf.cloud.core.common.netty.network.protocol.common.ClientboundSetVelocitySecretPacket
6+
import dev.slne.surf.cloud.core.common.netty.network.protocol.common.CommonClientSynchronizingRunningPacketListener
77
import dev.slne.surf.cloud.core.common.netty.network.protocol.common.CommonRunningPacketListener
8-
import dev.slne.surf.cloud.core.common.netty.network.protocol.common.CommonServerSynchronizingRunningPacketListener
98
import dev.slne.surf.cloud.core.common.netty.network.protocol.synchronizing.ClientboundCacheRegisterAckPacket
109

1110
interface RunningClientPacketListener :
1211
ClientCommonPacketListener,
13-
CommonServerSynchronizingRunningPacketListener,
12+
CommonClientSynchronizingRunningPacketListener,
1413
CommonRunningPacketListener {
1514
override val protocol get() = ConnectionProtocol.RUNNING
1615

@@ -72,8 +71,6 @@ interface RunningClientPacketListener :
7271

7372
fun handleTriggerPunishmentCreatedEvent(packet: ClientboundTriggerPunishmentCreatedEventPacket)
7473

75-
fun handleSetVelocitySecret(packet: ClientboundSetVelocitySecretPacket)
76-
7774
fun handleCacheRegisterAck(packet: ClientboundCacheRegisterAckPacket)
7875
fun handleCacheDelta(packet: ClientboundCacheDeltaPacket)
7976
fun handleCacheError(packet: ClientboundCacheErrorPacket)

0 commit comments

Comments
 (0)