Skip to content

Commit

Permalink
Fix packets
Browse files Browse the repository at this point in the history
  • Loading branch information
senseiwells committed Feb 20, 2024
1 parent 97abf02 commit 0c9bbf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import net.minecraft.SharedConstants
import net.minecraft.network.ConnectionProtocol
import net.minecraft.network.FriendlyByteBuf
import net.minecraft.network.protocol.PacketFlow
import net.minecraft.network.protocol.game.ClientboundAddEntityPacket
import net.minecraft.network.protocol.game.ClientboundAddPlayerPacket
import net.minecraft.network.protocol.game.ClientboundPlayerInfoPacket
import net.minecraft.network.protocol.game.ClientboundResourcePackPacket
import net.minecraft.network.protocol.game.ClientboundRespawnPacket
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,10 @@ object ReplayOptimizerUtils {
ClientboundPlayerAbilitiesPacket::class.java,
ClientboundLoginCompressionPacket::class.java,
ClientboundCommandSuggestionsPacket::class.java,
ClientboundCustomChatCompletionsPacket::class.java,
ClientboundCommandsPacket::class.java
)
private val CHAT = setOf<Class<out Packet<*>>>(
ClientboundPlayerChatPacket::class.java,
ClientboundDeleteChatPacket::class.java,
ClientboundSystemChatPacket::class.java,
ClientboundDisguisedChatPacket::class.java
ClientboundChatPacket::class.java
)
private val SCOREBOARD = setOf<Class<out Packet<*>>>(
ClientboundSetScorePacket::class.java,
Expand Down

0 comments on commit 0c9bbf9

Please sign in to comment.