Commit bde40849 authored by Ash's avatar Ash
Browse files

Only load from mythic packs, removed the old MCC-only pack system

parent f96d03d1
......@@ -49,6 +49,7 @@ public abstract class MCCosmeticsManager<T extends Cosmetic> extends ReloadableM
public void load(MCCosmeticsPlugin plugin) {
final String type = CosmeticType.folder(cosmeticClass);
/*
for(var packFolder : plugin.getConfiguration().getPackFolders()) {
final File confFolder = new File(packFolder.getAbsolutePath() + System.getProperty("file.separator") + type);
if(confFolder.exists() && confFolder.isDirectory()) {
......@@ -57,6 +58,7 @@ public abstract class MCCosmeticsManager<T extends Cosmetic> extends ReloadableM
}
}
}
*/
for(var pack : MythicBukkit.inst().getPackManager().getPacks()) {
final File confFolder = pack.getPackFolder("cosmetics" + System.getProperty("file.separator") + type);
if(confFolder.exists() && confFolder.isDirectory()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment