diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/internal/command/exception/ExceptionConverterHelper.java b/worldedit-core/src/main/java/com/sk89q/worldedit/internal/command/exception/ExceptionConverterHelper.java index bab3a3936..dd48e0f0f 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/internal/command/exception/ExceptionConverterHelper.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/internal/command/exception/ExceptionConverterHelper.java @@ -78,7 +78,7 @@ public void convert(Throwable t) throws CommandException { throw (CommandException) e.getCause(); } if (e.getCause() instanceof com.sk89q.minecraft.util.commands.CommandException) { - throw new CommandException(e.getCause(), ImmutableList.of()); + throw new CommandExecutionException(e.getCause(), ImmutableList.of()); } throw new CommandExecutionException(e, ImmutableList.of()); } catch (IllegalArgumentException | IllegalAccessException e) {