mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-12-30 20:37:52 +01:00
Add lastAccess to ActionFrequency.
This commit is contained in:
parent
2901ac3abc
commit
61860247f4
@ -107,8 +107,14 @@ public class ActionFrequency {
|
|||||||
cf *= factor;
|
cf *= factor;
|
||||||
}
|
}
|
||||||
return score;
|
return score;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get reference time.
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public final long lastAccess(){
|
||||||
|
return time;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user