mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-04 23:47:59 +01:00
Marked classes deprecated for removal
This commit is contained in:
parent
fbb8c1a819
commit
7e82edcbd9
@ -2,6 +2,10 @@ package net.minestom.server.utils.time;
|
||||
|
||||
import net.minestom.server.MinecraftServer;
|
||||
|
||||
/**
|
||||
* @deprecated Replaced by {@link java.time.temporal.TemporalUnit}
|
||||
*/
|
||||
@Deprecated(forRemoval = true)
|
||||
public enum TimeUnit {
|
||||
|
||||
TICK, DAY, HOUR, MINUTE, SECOND, MILLISECOND;
|
||||
|
@ -4,6 +4,10 @@ import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* @deprecated Replaced by {@link java.time.Duration}
|
||||
*/
|
||||
@Deprecated(forRemoval = true)
|
||||
public class UpdateOption {
|
||||
|
||||
private final long value;
|
||||
|
Loading…
Reference in New Issue
Block a user