* InputManager fix syntax error
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9119 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
965974c18d
commit
b1d4c36fd7
@ -651,8 +651,8 @@ public class InputManager implements RawInputListener {
|
|||||||
* @return an array of all joysticks installed on the system.
|
* @return an array of all joysticks installed on the system.
|
||||||
*/
|
*/
|
||||||
public Joystick[] getJoysticks() {
|
public Joystick[] getJoysticks() {
|
||||||
if (joyInput == null){
|
if (joystick == null){
|
||||||
throw new InvalidStateException("Joystick Input is disabled");
|
throw new IllegalStateException("Joystick Input is disabled");
|
||||||
}
|
}
|
||||||
return joysticks;
|
return joysticks;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user