We should be able to pass ByteArrays around using the EZGame kit.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@91 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Ray Greenwell
2006-10-04 23:32:17 +00:00
parent 0767b42f37
commit 910bb8be5b
@@ -457,7 +457,11 @@ public class GameObjectImpl extends EventDispatcher
// kosher! // kosher!
return; return;
} }
if (ClassUtil.getClass(value) != Object) { var clazz :Class = ClassUtil.getClass(value);
if (clazz == ByteArray) {
return; // kosher
}
if (clazz != Object ) {
throw new ArgumentError( throw new ArgumentError(
"Non-simple properties may not be set."); "Non-simple properties may not be set.");
} }