We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 978a844 commit 63ff249Copy full SHA for 63ff249
src/main/java/com/laytonsmith/core/constructs/Construct.java
@@ -419,6 +419,8 @@ public static Object GetPOJO(Mixed c) throws ClassCastException {
419
return Long.valueOf(((CInt) c).getInt());
420
} else if(c instanceof CDouble) {
421
return Double.valueOf(((CDouble) c).getDouble());
422
+ } else if(c.isInstanceOf(CByteArray.TYPE)) {
423
+ return ((CByteArray) c).asByteArrayCopy();
424
} else if(c.isInstanceOf(CArray.TYPE)) {
425
CArray ca = (CArray) c;
426
if(ca.inAssociativeMode()) {
0 commit comments