diff --git a/Celeste.Mod.mm/Patches/ObjModel.cs b/Celeste.Mod.mm/Patches/ObjModel.cs index d6b9a2ce4..e1c962984 100644 --- a/Celeste.Mod.mm/Patches/ObjModel.cs +++ b/Celeste.Mod.mm/Patches/ObjModel.cs @@ -69,7 +69,7 @@ public static ObjModel CreateFromStream(Stream stream, string fname) { using (StreamReader streamReader = new StreamReader(stream)) { string text; while ((text = streamReader.ReadLine()) != null) { - string[] array = text.Split(' '); + string[] array = text.Split(' ', StringSplitOptions.RemoveEmptyEntries); if (array.Length != 0) { string a = array[0]; if (a == "o") {