mirror of
https://github.com/Xiao-MoMi/Custom-Nameplates.git
synced 2026-01-04 15:31:47 +00:00
Add creative-central resourcepack integration support
This commit is contained in:
@@ -218,6 +218,13 @@ public class ResourcePackManagerImpl implements ResourcePackManager {
|
||||
plugin.getPluginLogger().warn("Failed to copy files to Oraxen", e);
|
||||
}
|
||||
}
|
||||
if(ConfigManager.packCreativeCentral()) {
|
||||
try {
|
||||
FileUtils.copyDirectory(new File(resourcePackFolder, "assets"), new File(pluginsFolder, "creative-central" + File.separator + "resources" + File.separator + "assets"));
|
||||
} catch (IOException e){
|
||||
plugin.getPluginLogger().warn("Failed to copy files to Creative-Central", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private List<JsonObject> getBubbles(File texturesFolder) {
|
||||
|
||||
@@ -25,6 +25,7 @@ integrations:
|
||||
ItemsAdder: false # Integration with ItemsAdder
|
||||
ItemsAdder-old-method: false # Old method for ItemsAdder
|
||||
Oraxen: false # Integration with Oraxen
|
||||
Creative-Central: false # Integration with Creative-Central
|
||||
chat:
|
||||
TrChat: false # Integration with TrChat
|
||||
VentureChat: false # Integration with VentureChat
|
||||
|
||||
Reference in New Issue
Block a user