Gotta be symmetric with readField

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6085 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Charlie Groves
2010-06-22 03:16:23 +00:00
parent 2268aae388
commit 12578d8810
@@ -342,7 +342,7 @@ public class GenActionScriptTask extends Task
return "writeDouble(" + name + ")";
} else if (type.equals(String.class) ||
(type.isArray() && Byte.TYPE.equals(type.getComponentType()))) {
(type.isArray() && type.getComponentType().isPrimitive())) {
return "writeField(" + name + ")";
} else {