mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-06 10:05:46 +00:00
fix for missing function
This commit is contained in:
@@ -424,5 +424,11 @@ namespace PckStudio.Forms.Editor
|
||||
{
|
||||
if (saved) saveToolStripMenuItem1_Click(sender, e, playOverworldInCreative.Checked);
|
||||
}
|
||||
// For when the Data Directory variable is null, this sets the variable in the form
|
||||
private void getDataDirectory()
|
||||
{
|
||||
MainForm parent = Owner.Owner as MainForm; // Gets the MainForm so we can access the Save Location
|
||||
DataDirectory = Path.Combine(Path.GetDirectoryName(parent.saveLocation), "Data");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user