mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-20 07:02:32 +01: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