fix: NPE in executeCommands
This commit is contained in:
parent
7754e8f2c8
commit
99a0e7811d
1 changed files with 2 additions and 0 deletions
|
@ -1026,6 +1026,8 @@ public class EditorEventManager {
|
|||
return;
|
||||
}
|
||||
commands.stream().map(c -> {
|
||||
if (c == null)
|
||||
return null;
|
||||
ExecuteCommandParams params = new ExecuteCommandParams();
|
||||
params.setArguments(c.getArguments());
|
||||
params.setCommand(c.getCommand());
|
||||
|
|
Loading…
Add table
Reference in a new issue