Update ItemCreationSDK.cs... AGAIN!

This commit is contained in:
Bitl 2021-12-04 13:10:35 -07:00
parent 2cd43aa3a9
commit 800b8973cb
1 changed files with 3 additions and 0 deletions

View File

@ -1352,6 +1352,9 @@ public partial class ItemCreationSDK : Form
public bool LoadItem(string filepath, RobloxFileType type)
{
Option1Path = "";
Option2Path = "";
string oldfile = File.ReadAllText(filepath);
string fixedfile = RobloxXML.RemoveInvalidXmlChars(RobloxXML.ReplaceHexadecimalSymbols(oldfile));
XDocument doc = XDocument.Parse(fixedfile);