Mayhem'
September 10th, 2011, 19:57
public void logout() {
if(System.currentTimeMillis() - logoutDelay > 10000) {
outStream.createFrame(68);
outStream.createFrame(109);
} else {
sendMessage("You must wait 10 seconds from being out of combat to logout.");
}
}
What I Added:
outStream.createFrame(68); // this makes it so that it resets the buttons states so that it can help stop bug//s with attack styles and running, etc...
if(System.currentTimeMillis() - logoutDelay > 10000) {
outStream.createFrame(68);
outStream.createFrame(109);
} else {
sendMessage("You must wait 10 seconds from being out of combat to logout.");
}
}
What I Added:
outStream.createFrame(68); // this makes it so that it resets the buttons states so that it can help stop bug//s with attack styles and running, etc...