fix: possible issues
This commit is contained in:
@@ -521,7 +521,7 @@ func (*GameEvent) PacketID() packetid.ClientboundPacketID {
|
||||
return packetid.ClientboundGameEvent
|
||||
}
|
||||
func (*OpenHorseScreen) PacketID() packetid.ClientboundPacketID {
|
||||
return packetid.ClientboundHorseScreenOpen
|
||||
return packetid.ClientboundMountScreenOpen
|
||||
}
|
||||
func (*HurtAnimation) PacketID() packetid.ClientboundPacketID {
|
||||
return packetid.ClientboundHurtAnimation
|
||||
|
||||
@@ -8,11 +8,11 @@ type DebugSampleSubscription struct {
|
||||
}
|
||||
|
||||
func (*DebugSampleSubscription) PacketID() packetid.ServerboundPacketID {
|
||||
return packetid.ServerboundDebugSampleSubscription
|
||||
return packetid.ServerboundDebugSubscriptionRequest
|
||||
}
|
||||
|
||||
func init() {
|
||||
registerPacket(packetid.ServerboundDebugSampleSubscription, func() ServerboundPacket {
|
||||
registerPacket(packetid.ServerboundDebugSubscriptionRequest, func() ServerboundPacket {
|
||||
return &DebugSampleSubscription{}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user