Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
MythicCraft
MythicCosmetics
Commits
bde40849
Commit
bde40849
authored
3 months ago
by
Ash
Browse files
Options
Download
Email Patches
Plain Diff
Only load from mythic packs, removed the old MCC-only pack system
parent
f96d03d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
plugin/src/main/java/io/lumine/cosmetics/types/MCCosmeticsManager.java
...in/java/io/lumine/cosmetics/types/MCCosmeticsManager.java
+2
-0
No files found.
plugin/src/main/java/io/lumine/cosmetics/types/MCCosmeticsManager.java
View file @
bde40849
...
...
@@ -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
())
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment