Skip to content

Commit 3d9e430

Browse files
committed
Update DBCDBuilder.cs
1 parent bb0a2b7 commit 3d9e430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DBCD/DBCDBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ internal Tuple<Type, DBCDInfo> Build(DBParser dbcReader, Stream dbd, string name
105105

106106
if (!fieldDefinition.isNonInline)
107107
{
108-
if (metadataIndex < dbcReader.ColumnMeta.Length)
108+
if (dbcReader.ColumnMeta != null && metadataIndex < dbcReader.ColumnMeta.Length)
109109
{
110110
AddAttribute<SizeInBitsAttribute>(field, dbcReader.ColumnMeta[metadataIndex].Size);
111111
}

0 commit comments

Comments
 (0)