mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +00:00
Update Landing.java
fixed an rather serious typo in mac address parsing
This commit is contained in:
@@ -154,6 +154,7 @@ public final class Landing {
|
||||
if (str.toLowerCase().equals("random")) {
|
||||
new java.util.Random().nextBytes(mac);
|
||||
} else {
|
||||
i--;
|
||||
for(int j = 0; j < 6;j++){
|
||||
mac[j] = Byte.parseByte(args[++i], 16); // parses a hex number
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user