mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-23 08:50:52 +01:00
habboclient: windows: Wait for the connection to take place
* It takes a while for the connection to begin, and that's needed for G-WinMem.exe
This commit is contained in:
parent
5f35430768
commit
b48d1ddd1e
@ -224,12 +224,13 @@ public class WindowsHabboClient extends HabboClient {
|
||||
System.out.println("Getting Win Possibilities");
|
||||
List<byte[]> result = new ArrayList<>();
|
||||
try {
|
||||
Thread.sleep(3000);
|
||||
ArrayList<String> possibleData = readPossibleBytes();
|
||||
|
||||
for (String possibleHexStr : possibleData) {
|
||||
result.add(DatatypeConverter.parseHexBinary(possibleHexStr));
|
||||
}
|
||||
} catch (IOException | URISyntaxException e) {
|
||||
} catch (IOException | URISyntaxException | InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return result;
|
||||
|
Loading…
Reference in New Issue
Block a user