mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-07 00:38:16 +00:00
Added RandomHandler#setActive and enabled all randoms by default
This commit is contained in:
@@ -37,6 +37,15 @@ public class RandomHandler {
|
||||
}
|
||||
}
|
||||
randoms.add(random);
|
||||
setActive(random);
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a random to the active randoms
|
||||
* @param random
|
||||
*/
|
||||
public void setActive(Random random){
|
||||
this.activeRandoms.add(random);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user