mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-28 17:45:34 +00:00
Fixed Avoid Error Implicit coercion of a value of type XXX to an unrelated type YYY
This commit is contained in:
@@ -128,7 +128,7 @@ public class FullMultinameAVM2Item extends AVM2Item {
|
||||
if (name instanceof IntegerValueAVM2Item) {
|
||||
name.toString(writer, localData);
|
||||
} else {
|
||||
name.toStringString(writer, localData);
|
||||
name.toString(writer, localData);
|
||||
}
|
||||
writer.append("]");
|
||||
} else {
|
||||
|
||||
@@ -54,7 +54,7 @@ public class NameValuePair extends AVM2Item {
|
||||
if ((name instanceof ConvertAVM2Item) && ((ConvertAVM2Item)name).type.equals(TypeItem.STRING)) {
|
||||
name = name.value;
|
||||
}
|
||||
name.toStringString(writer, localData);
|
||||
name.toString(writer, localData);
|
||||
if (needsParents) {
|
||||
writer.append(")");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user