1
0
mirror of synced 2025-02-06 22:54:21 +01:00

Bfres fix for ptcl

This commit is contained in:
KillzXGaming 2025-01-19 16:03:04 -05:00
parent b106790a27
commit 793362909a

View File

@ -951,7 +951,7 @@ namespace FirstPlugin
public void Save(Stream stream)
{
//Force mesh codec compression on save
if (this.FilePath.EndsWith(".mc"))
if (this.FilePath != null && this.FilePath.EndsWith(".mc"))
{
this.IFileInfo.FileCompression = new MeshCodecFormat();
this.IFileInfo.FileIsCompressed = true;