mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-18 04:20:19 -07:00
Bump tolerance timer back up to 10 minutes
This commit is contained in:
parent
4687c319bc
commit
bafb6e689c
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ public class Region {
|
|||
* Checks if player is tolerated by enemies in this region
|
||||
*/
|
||||
public boolean isTolerated(Player player){
|
||||
return System.currentTimeMillis() - tolerances.getOrDefault(player.getUsername(), System.currentTimeMillis()) > TimeUnit.MINUTES.toMillis(1);
|
||||
return System.currentTimeMillis() - tolerances.getOrDefault(player.getUsername(), System.currentTimeMillis()) > TimeUnit.MINUTES.toMillis(10);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue