i fixed the problem, are you happy now mark?
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9124 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
bfa243a619
commit
c576a12f83
@ -651,9 +651,6 @@ 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 (joystick == null){
|
|
||||||
throw new IllegalStateException("Joystick Input is disabled");
|
|
||||||
}
|
|
||||||
return joysticks;
|
return joysticks;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user