mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 11:30:54 +00:00
Cannot import compound scripts.
This commit is contained in:
@@ -91,6 +91,10 @@ public class ScriptPack extends AS3ClassTreeItem {
|
||||
|
||||
private final ClassPath path;
|
||||
|
||||
/**
|
||||
* Is the scriptpack simple? ScriptPack can be either simple or compound.
|
||||
* Compound = Contains more than one externally visible definitions.
|
||||
*/
|
||||
public boolean isSimple = false;
|
||||
|
||||
public boolean scriptInitializerIsEmpty = false;
|
||||
|
||||
@@ -51,6 +51,9 @@ public class AS3ScriptImporter {
|
||||
if (Thread.currentThread().isInterrupted()) {
|
||||
return importCount;
|
||||
}
|
||||
if (!pack.isSimple) {
|
||||
continue;
|
||||
}
|
||||
try {
|
||||
File file = pack.getExportFile(scriptsFolder, new ScriptExportSettings(ScriptExportMode.AS, false, false, false, false));
|
||||
if (file.exists()) {
|
||||
|
||||
Reference in New Issue
Block a user