Modifying an exception to log warning to actual do
what the warning says it will do. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10827 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
11d77cfdc2
commit
596b5a0060
@ -602,6 +602,7 @@ public class InputManager implements RawInputListener {
|
|||||||
if (mapping == null) {
|
if (mapping == null) {
|
||||||
//throw new IllegalArgumentException("Cannot find mapping: " + mappingName);
|
//throw new IllegalArgumentException("Cannot find mapping: " + mappingName);
|
||||||
logger.log(Level.WARNING, "Cannot find mapping to be removed, skipping: {0}", mappingName);
|
logger.log(Level.WARNING, "Cannot find mapping to be removed, skipping: {0}", mappingName);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
ArrayList<Integer> triggers = mapping.triggers;
|
ArrayList<Integer> triggers = mapping.triggers;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user