for (CommanderCombatDamageWatcher damageWatcher: commanderCombatWatcher) {
for(Map.Entry<UUID, Integer> entrySet : damageWatcher.getDamageToPlayer().entrySet()){
if (entrySet.getValue() > 20) {
Player player = getPlayer(entrySet.getKey());
if (player != null && player.isInGame()){
player.lost(this);
}
}
}
}
return super.checkStateBasedActions();