Misc fixes.

Closes a few old youtrack issues which I don't remember because I had
like 30 tabs open, and a few other issues which I found while testing
some of those.
This commit is contained in:
wizjany
2019-05-05 14:25:43 -04:00
parent bc8e477b1c
commit ceff17c4f7
5 changed files with 7 additions and 6 deletions

View File

@ -61,7 +61,7 @@ public class WorldEditExceptionConverter extends ExceptionConverterHelper {
}
private CommandException newCommandException(String message, Throwable cause) {
return new CommandException(TextComponent.of(message), cause, ImmutableList.of());
return new CommandException(TextComponent.of(String.valueOf(message)), cause, ImmutableList.of());
}
@ExceptionMatch