mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 16:49:10 +00:00
[TASK] Added filters for bugsnag
This commit is contained in:
@@ -156,6 +156,7 @@ public class Script implements Runnable {
|
||||
if(state < 0 || state > 2) {
|
||||
throw new IllegalArgumentException("Illegal state");
|
||||
}
|
||||
Core.setBugsnagInformation("Script", "State", String.valueOf(state));
|
||||
this.state = state;
|
||||
}
|
||||
|
||||
@@ -180,5 +181,6 @@ public class Script implements Runnable {
|
||||
|
||||
public void setScriptID(int scriptID){
|
||||
this.scriptID = scriptID;
|
||||
Core.setBugsnagInformation("Script", "State", String.valueOf(scriptID));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user