private void checkEnvironment(){
        List<Character> allies = Loader.config.getAllies(), enemies = Loader.config.getEnemies(),
                bosses = Loader.config.getBosses();
        DefaultListModel model = new DefaultListModel();
        for (Character ch : allies) {
            this.allies.put(ch.getName(), ch);
            model.addElement(ch.getName());
        }
        allyList.setModel(model);
        model = new DefaultListModel();
        for (Character ch : bosses) {
            this.enemies.put(ch.getName() + "(BOSS)", ch);
            model.addElement(ch.getName() + "(BOSS)");
        }
        for (Character ch : enemies) {
            this.enemies.put(ch.getName(), ch);
            model.addElement(ch.getName());
        }
        enemyList.setModel(model);
    }