diff --git a/src/main/java/net/Indyuce/mmocore/api/player/PlayerSkillData.java b/src/main/java/net/Indyuce/mmocore/api/player/PlayerSkillData.java index fef1b5df..85387d43 100644 --- a/src/main/java/net/Indyuce/mmocore/api/player/PlayerSkillData.java +++ b/src/main/java/net/Indyuce/mmocore/api/player/PlayerSkillData.java @@ -80,17 +80,17 @@ public class PlayerSkillData { public class CachedModifier { private final long date = System.currentTimeMillis(); - private final double value; + private final int value; public CachedModifier(double value) { - this.value = value; + this.value = (int) value; } public boolean isTimedOut() { return date + 1000 * 60 < System.currentTimeMillis(); } - public double getValue() { + public int getValue() { return value; } }