Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved Trying to press ESC key gives error

Joined
Aug 7, 2015
Messages
28
So i try to close bank with this:
Code:
if(Bank.isOpen()) {
            Keyboard.pressKey(Keyboard.Key.KEY_ESCAPE);
  }

But i get this error:

Code:
Error:(58, 39) java: com.runemate.game.api.hybrid.input.Keyboard.Key is not public in com.runemate.game.api.hybrid.input.Keyboard; cannot be accessed from outside package

Is there some other way to close bank with ESC or resolve this problem?
 
Top