Skip to content

Commit

Permalink
minecraft/conn.go: Decrement pack amount
Browse files Browse the repository at this point in the history
  • Loading branch information
TwistedAsylumMC committed Oct 4, 2022
1 parent 03fb96d commit 657c707
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions minecraft/conn.go
Expand Up @@ -831,6 +831,7 @@ func (conn *Conn) handleResourcePacksInfo(pk *packet.ResourcePacksInfo) error {
uuid: pack.UUID,
version: pack.Version,
})
conn.packQueue.packAmount--
continue
}
// This UUID_Version is a hack Mojang put in place.
Expand All @@ -853,6 +854,7 @@ func (conn *Conn) handleResourcePacksInfo(pk *packet.ResourcePacksInfo) error {
uuid: pack.UUID,
version: pack.Version,
})
conn.packQueue.packAmount--
continue
}
// This UUID_Version is a hack Mojang put in place.
Expand Down

0 comments on commit 657c707

Please sign in to comment.