From 1e4e9a5e52d02ca033f541a648e1615997566a80 Mon Sep 17 00:00:00 2001 From: yaohunya <31456652@qq.com> Date: Wed, 31 Jul 2024 02:10:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/me/Demon/DemonLevels/listener/UpgradePrompt.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/Demon/DemonLevels/listener/UpgradePrompt.java b/src/main/java/me/Demon/DemonLevels/listener/UpgradePrompt.java index 988e479..51a1083 100644 --- a/src/main/java/me/Demon/DemonLevels/listener/UpgradePrompt.java +++ b/src/main/java/me/Demon/DemonLevels/listener/UpgradePrompt.java @@ -14,7 +14,7 @@ public class UpgradePrompt implements Listener { // 获取玩家的新等级 int level = e.getLevel(); // 检查玩家的等级是否是5的倍数 - if (level % 5 == 0) { + if (level % 10 == 0) { // 获取触发事件的玩家 Player p = e.getPlayer(); // 获取玩家名称