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(); // 获取玩家名称