if (useBv) { playerValue += entity.calculateBattleValue();
if (!client.game.getOptions().booleanOption("real_blind_drop") || entity.getOwner().equals(client.getLocalPlayer())) { if (useBv) { playerValue += entity.calculateBattleValue(); } else { playerValue += entity.getWeight(); }
    private void refreshBVs() {        final boolean useBv = chkBV.getState();        lisBVs.removeAll();        for (Enumeration i = client.getPlayers(); i.hasMoreElements();) {            final Player player = (Player) i.nextElement();            if (player == null) {                continue;            }            float playerValue = 0;            for (Enumeration j = client.getEntities(); j.hasMoreElements();) {                Entity entity = (Entity) j.nextElement();                if (entity.getOwner().equals(player)) {                    if (useBv) {                        playerValue += entity.calculateBattleValue();                    } else {                        playerValue += entity.getWeight();                    }                }            }            if (useBv) {                lisBVs.add(player.getName() + " BV=" + (int) playerValue);            } else {                lisBVs.add(player.getName() + " Tons=" + playerValue);            }        }    }