private void init() {
        //set correct colors
        ItemStack[] items = new ItemStack[4];
        Material[] materials = new Material[] {Material.LEATHER_HELMET,
            Material.LEATHER_CHESTPLATE,
            Material.LEATHER_LEGGINGS,
            Material.LEATHER_BOOTS};
        for(int i = 0; i < 4; ++i) {
            EntityEquipment equipment = player.getEquipment();
            items[i] = new ItemStack(materials[i], 1);
            LeatherArmorMeta metadata = (LeatherArmorMeta)items[i].getItemMeta();
            Color color = metadata.getColor();
            if(!color.equals(team.getRGBColor())) {
                metadata.setColor(team.getRGBColor());
                items[i].setItemMeta(metadata);
            }
            if(i == 0) {
                equipment.setHelmet(items[i]);
            } else if(i == 1) {
                equipment.setChestplate(items[i]);
            } else if(i == 2) {
                equipment.setLeggings(items[i]);
            } else if(i == 3) {
                equipment.setBoots(items[i]);
            }
        }

    }