Update ItemCreationSDK.cs... AGAIN!
This commit is contained in:
parent
2cd43aa3a9
commit
800b8973cb
|
|
@ -1352,6 +1352,9 @@ public partial class ItemCreationSDK : Form
|
||||||
|
|
||||||
public bool LoadItem(string filepath, RobloxFileType type)
|
public bool LoadItem(string filepath, RobloxFileType type)
|
||||||
{
|
{
|
||||||
|
Option1Path = "";
|
||||||
|
Option2Path = "";
|
||||||
|
|
||||||
string oldfile = File.ReadAllText(filepath);
|
string oldfile = File.ReadAllText(filepath);
|
||||||
string fixedfile = RobloxXML.RemoveInvalidXmlChars(RobloxXML.ReplaceHexadecimalSymbols(oldfile));
|
string fixedfile = RobloxXML.RemoveInvalidXmlChars(RobloxXML.ReplaceHexadecimalSymbols(oldfile));
|
||||||
XDocument doc = XDocument.Parse(fixedfile);
|
XDocument doc = XDocument.Parse(fixedfile);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue