mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-07-09 11:28:45 +00:00
MainForm - Mark 'GetDataPath', 'HasDataFolder' and 'CreateDataFolder' as Obsolete/Needs moving
This commit is contained in:
@@ -1539,16 +1539,19 @@ namespace PckStudio
|
||||
e.CancelEdit = true;
|
||||
}
|
||||
|
||||
[Obsolete("Move this")]
|
||||
public string GetDataPath()
|
||||
{
|
||||
return Path.Combine(Path.GetDirectoryName(saveLocation), "Data");
|
||||
}
|
||||
|
||||
[Obsolete("Move this")]
|
||||
public bool HasDataFolder()
|
||||
{
|
||||
return Directory.Exists(GetDataPath());
|
||||
}
|
||||
|
||||
[Obsolete("Move this")]
|
||||
public bool CreateDataFolder()
|
||||
{
|
||||
if (!HasDataFolder())
|
||||
|
||||
Reference in New Issue
Block a user