From df72924cbdccecd1ced87d4e309a091c3bdeb358 Mon Sep 17 00:00:00 2001 From: MiniDay <372403923@qq.com> Date: Sat, 4 Nov 2023 21:44:35 +0800 Subject: [PATCH] =?UTF-8?q?feat(core-bukkit):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=8C=87=E4=BB=A4:=20/lore=20info?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mc/plugin/core/bukkit/command/lore/sub/LoreInfoCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-bukkit/src/main/java/cn/hamster3/mc/plugin/core/bukkit/command/lore/sub/LoreInfoCommand.java b/core-bukkit/src/main/java/cn/hamster3/mc/plugin/core/bukkit/command/lore/sub/LoreInfoCommand.java index 8cfae00..cef7a37 100644 --- a/core-bukkit/src/main/java/cn/hamster3/mc/plugin/core/bukkit/command/lore/sub/LoreInfoCommand.java +++ b/core-bukkit/src/main/java/cn/hamster3/mc/plugin/core/bukkit/command/lore/sub/LoreInfoCommand.java @@ -68,7 +68,7 @@ public class LoreInfoCommand extends ChildCommand { sender.sendMessage("§a物品 lore: "); for (int i = 0; i < lore.size(); i++) { String s = lore.get(i); - sender.sendMessage("§a" + i + ". §f" + s); + sender.sendMessage("§a" + (i + 1) + ". §f" + s); } } else { sender.sendMessage("§a物品 lore: 无");