forked from 2009Scape/Server
Bump tolerance timer back up to 10 minutes
This commit is contained in:
parent
8ac6e27de8
commit
303dcd20f9
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