Skip to content

Commit 2a9546c

Browse files
committed
Mark deprecated methods with version and removal details.
1 parent d2409af commit 2a9546c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

eternalcore-core/src/main/java/com/eternalcode/core/configuration/implementation/LocationsConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class LocationsConfiguration implements ReloadableConfig {
2222
public Position spawn = EMPTY_POSITION;
2323

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

2828
@Description("# This is jail location, for your own safety, please don't touch it.")

eternalcore-core/src/main/java/com/eternalcode/core/feature/randomteleport/RandomTeleportSettingsImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ public Duration cooldown() {
169169
}
170170

171171
@Override
172+
@Deprecated(since = "1.5.0", forRemoval = true)
172173
public boolean migrate() {
173174
boolean migrated = false;
174175
if (randomTeleportDelay != null) {

0 commit comments

Comments
 (0)