mirror of
https://github.com/2006-Scape/2006RebottedClient.git
synced 2026-07-02 16:49:02 +00:00
small bug fixes
This commit is contained in:
@@ -4745,10 +4745,10 @@ public class Client extends GameApplet {
|
||||
inputDialogState = 0;
|
||||
updateChatbox = true;
|
||||
}
|
||||
int first = -1;
|
||||
int button = -1;
|
||||
int action = -1;
|
||||
int clicked = -1;
|
||||
int first;
|
||||
int button;
|
||||
int action;
|
||||
int clicked;
|
||||
//First: 0 button: 0 action: 412 clicked: 777 actionText: Attack @yel@Man@gr1@ (level-2)
|
||||
if(menuAction != null) {
|
||||
first = menuAction.getMouseX();
|
||||
|
||||
@@ -65,6 +65,7 @@ public class APILoader {
|
||||
classArchive.loadClasses(classMap);
|
||||
final ASMClassLoader classLoader = new ASMClassLoader(classArchive);
|
||||
for(ClassNode node : classArchive.classes.values()) {
|
||||
if (node.visibleAnnotations != null && node.visibleAnnotations.size() > 0) {
|
||||
for (AnnotationNode annotationNode : node.visibleAnnotations) {
|
||||
if (annotationNode.desc.equals("L" + APIManifest.class.getCanonicalName().replaceAll("\\.", "/") + ";")) {
|
||||
final Class<?> clazz = classLoader.loadClass(node.name.replaceAll("/", "."));
|
||||
@@ -76,6 +77,7 @@ public class APILoader {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
@@ -79,7 +79,6 @@ public final class BotFrame extends JFrame implements ActionListener {
|
||||
setStopped();
|
||||
ScriptHandler.getInstance().stop();
|
||||
break;
|
||||
|
||||
case "entities":
|
||||
Configuration.namesAboveHeads = !Configuration.namesAboveHeads;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user