mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-31 06:06:52 +00:00
IExternalizable handling in PlaceObject4 rather in SWFInputStream
This commit is contained in:
@@ -768,14 +768,11 @@ public class SWFInputStream implements AutoCloseable {
|
||||
* @return
|
||||
* @throws IOException
|
||||
*/
|
||||
public Amf3Value readAmf3Object(String name) throws IOException {
|
||||
public Amf3Value readAmf3Object(String name) throws IOException, NoSerializerExistsException {
|
||||
Amf3InputStream ai = new Amf3InputStream(is);
|
||||
ai.dumpInfo = this.dumpInfo;
|
||||
try {
|
||||
return new Amf3Value(ai.readValue("amfData"));
|
||||
} catch (NoSerializerExistsException nse) {
|
||||
return new Amf3Value(nse.getIncompleteData());
|
||||
}
|
||||
|
||||
return new Amf3Value(ai.readValue("amfData"));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user