CrazyCore: fixed potential NPE in CommandExceptions