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 00644d8
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ class ResourcePackHelper {
if (index < targetResourcePacks.size) packsToQueue.add(targetResourcePacks[index])
}

main.logger.info(appliedResourcePacks.map { it.url }.toString())
main.logger.info(appliedResourcePacks.map { it.id }.toString())
main.logger.info(targetResourcePacks.map { it.url }.toString())
main.logger.info(targetResourcePacks.map { it.id }.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 00644d8

Please sign in to comment.