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:
Sha..om 2012-01-31 21:38:33 +00:00
parent bfa243a619
commit c576a12f83

View File

@ -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;
} }