mirror of
https://github.com/2006-Scape/Parabot-Randoms.git
synced 2026-07-03 00:38:07 +00:00
[FIX] Fixed Checked var
This commit is contained in:
@@ -14,6 +14,7 @@ public class BanFile implements Random {
|
||||
|
||||
@Override
|
||||
public boolean activate() {
|
||||
checked = true;
|
||||
return !checked && filePresent();
|
||||
}
|
||||
|
||||
@@ -25,7 +26,6 @@ public class BanFile implements Random {
|
||||
}
|
||||
}
|
||||
|
||||
checked = true;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -44,7 +44,6 @@ public class BanFile implements Random {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
checked = true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user