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