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