Skip to content

Commit

Permalink
feat: debug pack queue
Browse files Browse the repository at this point in the history
  • Loading branch information
jimchen5209 committed Aug 25, 2024
1 parent 5c36a7f commit 1048d65
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ class ResourcePackHelper {
if (index < targetResourcePacks.size) packsToQueue.add(targetResourcePacks[index])
}

main.logger.info(appliedResourcePacks.toString())
main.logger.info(targetResourcePacks.toString())
main.logger.info("Removing {} packs, Sending {} packs", packsToRemove.size, packsToQueue.size)
packsToRemove.forEach { pack -> player.removeResourcePacks(pack) }
packsToQueue.forEach { pack -> player.sendResourcePacks(pack) }
}
Expand Down

0 comments on commit 1048d65

Please sign in to comment.