mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-07 08:39:12 +00:00
FukinBitch
This commit is contained in:
@@ -151,8 +151,8 @@ public class BotUI extends JFrame implements ActionListener, ComponentListener,
|
|||||||
Rectangle parabotScreen = new Rectangle((int) getLocation().getX(), (int) getLocation().getY(), getWidth(), getHeight());
|
Rectangle parabotScreen = new Rectangle((int) getLocation().getX(), (int) getLocation().getY(), getWidth(), getHeight());
|
||||||
BufferedImage image = robot.createScreenCapture(parabotScreen);
|
BufferedImage image = robot.createScreenCapture(parabotScreen);
|
||||||
String randString = StringUtils.randomString(10);
|
String randString = StringUtils.randomString(10);
|
||||||
boolean search = true;
|
boolean search = true;
|
||||||
boolean duplicate = false;
|
boolean duplicate = false;
|
||||||
while(search == true){
|
while(search == true){
|
||||||
for (File f : Directories.getScreenshotDir().listFiles()){
|
for (File f : Directories.getScreenshotDir().listFiles()){
|
||||||
if (f.getAbsoluteFile().getName().contains(randString)) {
|
if (f.getAbsoluteFile().getName().contains(randString)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user