Deprecate BlueMapWorld#getSaveFolder()

This commit is contained in:
Lukas Rieger (Blue) 2024-02-07 20:45:28 +01:00
parent 5c3624832f
commit c3ce6d95de
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2
1 changed files with 4 additions and 1 deletions

View File

@ -42,10 +42,13 @@ public interface BlueMapWorld {
String getId();
/**
* Getter for the {@link Path} of this world's save-files (folder). This matches the folder configured in bluemap's config for this map ( <code>world:</code> ).
* Getter for the {@link Path} of this world's save-files (folder).
* <strike>This matches the folder configured in bluemap's config for this map ( <code>world:</code> )</strike>.
* @return the save-folder of this world.
* @deprecated Getting the save-folder of a world is no longer supported. As it is not guaranteed that every world has a save-folder.
*/
@DebugDump
@Deprecated
Path getSaveFolder();
/**