<commit_before>package com.minelittlepony.client.gui.hdskins;

import net.minecraft.client.MinecraftClient;

import com.minelittlepony.common.client.IModUtilities;
import com.minelittlepony.client.MineLPClient;
import com.minelittlepony.client.PonySkinModifier;
import com.minelittlepony.client.PonySkinParser;

import com.minelittlepony.hdskins.HDSkins;
import com.minelittlepony.hdskins.net.LegacySkinServer;
import com.minelittlepony.hdskins.net.SkinServer;
import com.minelittlepony.hdskins.net.ValhallaSkinServer;

/**
 * All the interactions with HD Skins.
 */
public class MineLPHDSkins extends MineLPClient {
    private static final String MINELP_VALHALLA_SERVER = "http://skins.minelittlepony-mod.com";

    private static final String MINELP_LEGACY_SERVER = "http://minelpskins.voxelmodpack.com";
    private static final String MINELP_LEGACY_GATEWAY = "http://minelpskinmanager.voxelmodpack.com";

    public MineLPHDSkins(IModUtilities utils) {
        super(utils);

        // Register pony servers
        SkinServer.defaultServers.add(new LegacySkinServer(MINELP_LEGACY_SERVER, MINELP_LEGACY_GATEWAY));
        // And make valhalla the default
        SkinServer.defaultServers.add(0, new ValhallaSkinServer(MINELP_VALHALLA_SERVER));
    }

    /**
     * Called when the game is ready.
     */
    @Override
    public void postInit(MinecraftClient minecraft) {
        super.postInit(minecraft);

        HDSkins manager = HDSkins.getInstance();

        // Convert legacy pony skins
        manager.addSkinModifier(new PonySkinModifier());
        // Parse trigger pixel data
        manager.addSkinParser(new PonySkinParser());
        // Clear ponies when skins are cleared
        manager.addClearListener(getManager());
        // Ponify the skins GUI.
        manager.setSkinsGui(GuiSkinsMineLP::new);
    }
}
<commit_msg>Fixed HDSkins not using the actual skin servers we tell it to use<commit_after>package com.minelittlepony.client.gui.hdskins;

import net.minecraft.client.MinecraftClient;

import com.minelittlepony.common.client.IModUtilities;
import com.minelittlepony.client.MineLPClient;
import com.minelittlepony.client.PonySkinModifier;
import com.minelittlepony.client.PonySkinParser;

import com.minelittlepony.hdskins.HDSkins;
import com.minelittlepony.hdskins.net.LegacySkinServer;
import com.minelittlepony.hdskins.net.SkinServer;
import com.minelittlepony.hdskins.net.ValhallaSkinServer;

/**
 * All the interactions with HD Skins.
 */
public class MineLPHDSkins extends MineLPClient {
    private static final String MINELP_VALHALLA_SERVER = "http://skins.minelittlepony-mod.com";

    private static final String MINELP_LEGACY_SERVER = "http://minelpskins.voxelmodpack.com";
    private static final String MINELP_LEGACY_GATEWAY = "http://minelpskinmanager.voxelmodpack.com";

    public MineLPHDSkins(IModUtilities utils) {
        super(utils);

        SkinServer legacy = new LegacySkinServer(MINELP_LEGACY_SERVER, MINELP_LEGACY_GATEWAY);
        SkinServer valhalla = new ValhallaSkinServer(MINELP_VALHALLA_SERVER);
        // Register pony servers
        HDSkins.getInstance().addSkinServer(legacy);
        HDSkins.getInstance().addSkinServer(valhalla);

        SkinServer.defaultServers.add(legacy);
        // And make valhalla the default
        SkinServer.defaultServers.add(0, valhalla);
    }

    /**
     * Called when the game is ready.
     */
    @Override
    public void postInit(MinecraftClient minecraft) {
        super.postInit(minecraft);

        HDSkins manager = HDSkins.getInstance();

        // Convert legacy pony skins
        manager.addSkinModifier(new PonySkinModifier());
        // Parse trigger pixel data
        manager.addSkinParser(new PonySkinParser());
        // Clear ponies when skins are cleared
        manager.addClearListener(getManager());
        // Ponify the skins GUI.
        manager.setSkinsGui(GuiSkinsMineLP::new);
    }
}

{'fraction_non_alphanumeric': 0.08903586873569067, 'fraction_numerical': 0.0005087763927753752, 'mean_word_length': 3.7602905569007263, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5712970', 'n_tokens_mistral': 1296, 'n_tokens_neox': 1274, 'n_words': 232}