forked from mirrors/NBTExplorer
DataManager.Save should be virtual
This commit is contained in:
parent
943b474c95
commit
60f38ca402
2 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ namespace Substrate.Data
|
|||
return _maps;
|
||||
}
|
||||
|
||||
public bool Save ()
|
||||
public override bool Save ()
|
||||
{
|
||||
if (_world == null) {
|
||||
return false;
|
||||
|
|
|
@ -38,7 +38,7 @@ namespace Substrate.Data
|
|||
/// Saves any metadata required by the world for managing data resources.
|
||||
/// </summary>
|
||||
/// <returns><c>true</c> on success, or <c>false</c> if data could not be saved.</returns>
|
||||
public bool Save ()
|
||||
public virtual bool Save ()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue