mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-08 01:17:47 +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;
|
import net.minestom.server.MinecraftServer;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Replaced by {@link java.time.temporal.TemporalUnit}
|
||||||
|
*/
|
||||||
|
@Deprecated(forRemoval = true)
|
||||||
public enum TimeUnit {
|
public enum TimeUnit {
|
||||||
|
|
||||||
TICK, DAY, HOUR, MINUTE, SECOND, MILLISECOND;
|
TICK, DAY, HOUR, MINUTE, SECOND, MILLISECOND;
|
||||||
|
@ -4,6 +4,10 @@ import org.jetbrains.annotations.NotNull;
|
|||||||
|
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Replaced by {@link java.time.Duration}
|
||||||
|
*/
|
||||||
|
@Deprecated(forRemoval = true)
|
||||||
public class UpdateOption {
|
public class UpdateOption {
|
||||||
|
|
||||||
private final long value;
|
private final long value;
|
||||||
|
Loading…
Reference in New Issue
Block a user