Skip to content

Commit

Permalink
Mark deprecated methods with version and removal details.
Browse files Browse the repository at this point in the history
  • Loading branch information
vLuckyyy committed Jan 17, 2025
1 parent d2409af commit 2a9546c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class LocationsConfiguration implements ReloadableConfig {
public Position spawn = EMPTY_POSITION;

@Description("# Warps now are stored in warps.yml. This is deprecated.")
@Deprecated
@Deprecated(since = "1.5.1", forRemoval = true)
public Map<String, Position> warps = new HashMap<>();

@Description("# This is jail location, for your own safety, please don't touch it.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ public Duration cooldown() {
}

@Override
@Deprecated(since = "1.5.0", forRemoval = true)
public boolean migrate() {
boolean migrated = false;
if (randomTeleportDelay != null) {
Expand Down

0 comments on commit 2a9546c

Please sign in to comment.