测试版
This commit is contained in:
parent
a047fef443
commit
1e4e9a5e52
|
@ -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();
|
||||
// 获取玩家名称
|
||||
|
|
Loading…
Reference in New Issue
Block a user