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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user