Skip to content

Commit c3ce6d9

Browse files
committed
Deprecate BlueMapWorld#getSaveFolder()
1 parent 5c36248 commit c3ce6d9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/java/de/bluecolored/bluemap/api/BlueMapWorld.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,13 @@ public interface BlueMapWorld {
4242
String getId();
4343

4444
/**
45-
* 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> ).
45+
* Getter for the {@link Path} of this world's save-files (folder).
46+
* <strike>This matches the folder configured in bluemap's config for this map ( <code>world:</code> )</strike>.
4647
* @return the save-folder of this world.
48+
* @deprecated Getting the save-folder of a world is no longer supported. As it is not guaranteed that every world has a save-folder.
4749
*/
4850
@DebugDump
51+
@Deprecated
4952
Path getSaveFolder();
5053

5154
/**

0 commit comments

Comments
 (0)