Skip to content

Commit

Permalink
Deprecate BlueMapWorld#getSaveFolder()
Browse files Browse the repository at this point in the history
  • Loading branch information
TBlueF committed Feb 7, 2024
1 parent 5c36248 commit c3ce6d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/de/bluecolored/bluemap/api/BlueMapWorld.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();

/**
Expand Down

0 comments on commit c3ce6d9

Please sign in to comment.