mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-31 02:05:28 +00:00
Fixed #1888 Remove casts for object literal keys
This commit is contained in:
@@ -51,6 +51,9 @@ public class NameValuePair extends AVM2Item {
|
||||
if (needsParents) {
|
||||
writer.append("(");
|
||||
}
|
||||
if ((name instanceof ConvertAVM2Item) && ((ConvertAVM2Item)name).type.equals(TypeItem.STRING)) {
|
||||
name = name.value;
|
||||
}
|
||||
name.toStringString(writer, localData);
|
||||
if (needsParents) {
|
||||
writer.append(")");
|
||||
|
||||
Reference in New Issue
Block a user