mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-07 16:49:10 +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")) {
|
if (str.toLowerCase().equals("random")) {
|
||||||
new java.util.Random().nextBytes(mac);
|
new java.util.Random().nextBytes(mac);
|
||||||
} else {
|
} else {
|
||||||
|
i--;
|
||||||
for(int j = 0; j < 6;j++){
|
for(int j = 0; j < 6;j++){
|
||||||
mac[j] = Byte.parseByte(args[++i], 16); // parses a hex number
|
mac[j] = Byte.parseByte(args[++i], 16); // parses a hex number
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user