mirror of
https://github.com/Minestom/Minestom.git
synced 2024-06-28 07:24:57 +02:00
Made duration final
This commit is contained in:
parent
b98abe8dd5
commit
0a4166faf2
|
@ -8,7 +8,7 @@ import java.time.temporal.TemporalUnit;
|
|||
@SuppressWarnings("removal")
|
||||
public final class Cooldown {
|
||||
|
||||
private Duration duration;
|
||||
private final Duration duration;
|
||||
private long lastUpdate;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user