mirror of
https://github.com/2006-Scape/Parabot-Randoms.git
synced 2026-12-06 11:17:22 +00:00
[FIX] Fixed Checked var
This commit is contained in:
1 parent
a62e66c059
commit
a8682a5e98
1 file changed
+1
-2
@@ -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