diff --git a/engine/src/core/com/jme3/input/InputManager.java b/engine/src/core/com/jme3/input/InputManager.java index e05f8ee8f..f9667a2d7 100644 --- a/engine/src/core/com/jme3/input/InputManager.java +++ b/engine/src/core/com/jme3/input/InputManager.java @@ -602,6 +602,7 @@ public class InputManager implements RawInputListener { if (mapping == null) { //throw new IllegalArgumentException("Cannot find mapping: " + mappingName); logger.log(Level.WARNING, "Cannot find mapping to be removed, skipping: {0}", mappingName); + return; } ArrayList triggers = mapping.triggers;