mirror of
https://e.coding.net/circlecloud/PvPTitles.git
synced 2024-12-21 15:28:46 +00:00
修复玩家点数小于1时可以刷分的BUG...
Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
parent
e1d7d9ccae
commit
13c94b14dc
@ -87,7 +87,7 @@ public class HandlePlayerPrefix implements Listener {
|
||||
fame++;
|
||||
player.sendMessage(ChatColor.GREEN + "你击杀了 " + killed + " 获得一点 " + tag + ".");
|
||||
this.databaseHandler.LoadPlayerData(player.getName());
|
||||
if (killedpoint == 1) {
|
||||
if (killedpoint <= 0) {
|
||||
player.sendMessage(ChatColor.RED + killed + " 已经是穷光蛋了 无法获得任何点数.");
|
||||
} else {
|
||||
player.sendMessage(ChatColor.GREEN + "你击杀了 " + killed + " 获得了点数1点(可兑换物品).");
|
||||
|
Loading…
Reference in New Issue
Block a user