mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-19 16:29:36 +00:00
support tlauncher (#188)
* support tlauncher * it works * Update README.md * simplify things * undo wildcard * facepalm * update tlauncher info
This commit is contained in:
1 parent
7e9f7fa498
commit
31fffa5d23
2 files changed
+10
-2
No files matched your search
@@ -22,9 +22,16 @@ public class ElyByAPI implements JsonAPILoader.IJsonAPI {
|
||||
@Override public String getRoot() { return "http://skinsystem.ely.by/textures/"; }
|
||||
}
|
||||
|
||||
public static class TLauncher extends JsonAPILoader.DefaultProfile {
|
||||
public TLauncher(JsonAPILoader loader) { super(loader); }
|
||||
@Override public String getName() { return "TLauncher"; }
|
||||
@Override public int getPriority() { return 550; }
|
||||
@Override public String getRoot() { return "https://auth.tlauncher.org/skin/profile/texture/login/"; }
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ICustomSkinLoaderPlugin.IDefaultProfile> getDefaultProfiles(JsonAPILoader loader) {
|
||||
return Lists.newArrayList(new ElyBy(loader));
|
||||
return Lists.newArrayList(new ElyBy(loader), new TLauncher(loader));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user