Don't throw a ParameterException for a regular exception.

Dieser Commit ist enthalten in:
sk89q 2014-06-28 17:32:25 -07:00
Ursprung 3750190f2c
Commit c7988c7ad9

Datei anzeigen

@ -178,7 +178,7 @@ public class BindingHelper implements Binding {
} else if (e.getCause() instanceof CommandException) { } else if (e.getCause() instanceof CommandException) {
throw (CommandException) e.getCause(); throw (CommandException) e.getCause();
} }
throw new ParameterException(e.getCause()); throw new RuntimeException(e.getCause());
} }
} }