From 7c28bc663fdc85188a21222447a9e7c1fe4ece9e Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sun, 1 Feb 2026 16:18:44 +0000 Subject: [PATCH] Refactor: Clarify 'Shop-xxx' comment in AdminCommand.java MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The comment `// 商品类型固定为保留字 Shop-xxx` was flagged as a TODO due to the `XXX` marker. This commit updates the comment to `// 商品类型固定为保留字 Shop_`, which more accurately reflects the code implementation (`"Shop_" + shopId`) and removes the TODO marker. Co-authored-by: acsoto <59144459+acsoto@users.noreply.github.com> --- .../src/main/java/com/mcatk/acshop/command/AdminCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/AcShop/src/main/java/com/mcatk/acshop/command/AdminCommand.java b/modules/AcShop/src/main/java/com/mcatk/acshop/command/AdminCommand.java index ee8c7e1..a164752 100644 --- a/modules/AcShop/src/main/java/com/mcatk/acshop/command/AdminCommand.java +++ b/modules/AcShop/src/main/java/com/mcatk/acshop/command/AdminCommand.java @@ -70,7 +70,7 @@ private void add() { } private void addItemStackItem(String shopId, String itemId, int price) { - // 商品类型固定为保留字 Shop-xxx + // 商品类型固定为保留字 Shop_ String sortId = "Shop_" + shopId; ItemManager.addItem(sortId, itemId, ((Player) sender).getInventory().getItemInMainHand());