Skip to content

Commit

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

main.logger.info(appliedResourcePacks.map { it.id }.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) }
appliedPacks[player] = targetResourcePacks.toList()
Expand Down

0 comments on commit ce72462

Please sign in to comment.