Add more debug to Build

This commit is contained in:
ArcticZeroo 2017-11-05 17:06:38 -05:00 committed by Alexander Meech
parent bacc1e0945
commit c00c58dd0e

View File

@ -9,6 +9,7 @@ import java.util.Map;
import java.util.Map.Entry;
import java.util.UUID;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Effect;
import org.bukkit.GameMode;
@ -595,6 +596,10 @@ public class Build extends Game
for (Player player : _data.keySet())
{
if (Manager.isVanished(player)) {
continue;
}
double points = _data.get(player).getPoints();
if (bestPlayer == null || points > bestPoints)
@ -1748,6 +1753,8 @@ public class Build extends Game
@Override
public void disqualify(Player player)
{
Bukkit.broadcastMessage("Disqualifying player " + player.getName());
super.disqualify(player);
// Remove the player from the map so players don't vote on it