diff --git a/src/codegen.inc.php b/src/codegen.inc.php index aad2a8f..092cba1 100644 --- a/src/codegen.inc.php +++ b/src/codegen.inc.php @@ -339,7 +339,7 @@ function defaultValue(mtgMetaField $field) function parseMetaField(string $str, mtgMetaInfo $meta): mtgMetaField { list($name, $type) = explode('|', $str); - return new mtgMetaField($name, new mtgTypeRef(new mtgBuiltinType($type), $meta)); + return new mtgMetaField($name, new mtgTypeRef(new mtgBuiltinType($type))); } function go_type(\mtgType $type, array $tokens = array())