diff --git a/src/SA3D.Modeling/File/ModelFile.cs b/src/SA3D.Modeling/File/ModelFile.cs index 89481f9..c589f50 100644 --- a/src/SA3D.Modeling/File/ModelFile.cs +++ b/src/SA3D.Modeling/File/ModelFile.cs @@ -430,6 +430,8 @@ private static void WriteNJ(EndianStackWriter writer, Node model, ModelFormat fo case ModelFormat.SA2: writer.WriteUShort(CM); break; + case ModelFormat.SA2B: + case ModelFormat.Buffer: default: throw new ArgumentException($"Attach format {format} not supported for NJ binaries"); }