Action 4 support

This commit is contained in:
Clisprail
2014-07-31 14:34:05 +02:00
parent 6b539011b0
commit 84223bf5aa
4 changed files with 47 additions and 12 deletions
+13
View File
@@ -64,5 +64,18 @@ public class Game {
public static int getPlane() {
return Loader.getClient().getPlane();
}
/**
* Determines whether this client has action 4 hooked
* @return <code>true</code> if action 4 is hooked
*/
public static boolean hasAction4() {
try {
Loader.getClient().getMenuAction4();
return true;
} catch(AbstractMethodError e) {
return false;
}
}
}