From 1048d65c8b7c9702483865e24f22fb34f629a0a3 Mon Sep 17 00:00:00 2001 From: jimchen5209 Date: Sun, 25 Aug 2024 17:38:29 +0800 Subject: [PATCH] feat: debug pack queue --- .../one/oktw/galaxy/proxy/resourcepack/ResourcePackHelper.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/kotlin/one/oktw/galaxy/proxy/resourcepack/ResourcePackHelper.kt b/src/main/kotlin/one/oktw/galaxy/proxy/resourcepack/ResourcePackHelper.kt index ad298c5..d0b409e 100644 --- a/src/main/kotlin/one/oktw/galaxy/proxy/resourcepack/ResourcePackHelper.kt +++ b/src/main/kotlin/one/oktw/galaxy/proxy/resourcepack/ResourcePackHelper.kt @@ -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) } }