mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-21 16:12:14 +00:00
Add CSLPluginsLoader (#48)
* Add CSLPluginsLoader * Remove plugin loader. Add some events. * Use ServiceLoader to load plugins * Remove PluginClassLoader.
This commit is contained in:
1 parent
42c48c5c2e
commit
cc3616a074
3 files changed
+48
No files matched your search
@@ -5,6 +5,7 @@ import java.util.HashMap;
|
||||
import com.mojang.authlib.GameProfile;
|
||||
|
||||
import customskinloader.config.SkinSiteProfile;
|
||||
import customskinloader.plugin.PluginLoader;
|
||||
import customskinloader.profile.UserProfile;
|
||||
|
||||
public class ProfileLoader {
|
||||
@@ -23,6 +24,7 @@ public class ProfileLoader {
|
||||
for(IProfileLoader loader:DEFAULT_LOADERS){
|
||||
loaders.put(loader.getName().toLowerCase(), loader);
|
||||
}
|
||||
loaders.putAll(PluginLoader.loadPlugins());
|
||||
return loaders;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user