diff --git a/build.gradle b/build.gradle index 1ee49b10..37e6f67a 100644 --- a/build.gradle +++ b/build.gradle @@ -1,3 +1,5 @@ +import java.nio.charset.StandardCharsets + buildscript { repositories { mavenCentral() @@ -84,6 +86,7 @@ subprojects { "CatchAndPrintStackTrace" ) } + options.encoding(StandardCharsets.UTF_8.name()) } repositories { diff --git a/cloud-minecraft/cloud-minecraft-extras/src/main/java/cloud/commandframework/minecraft/extras/MinecraftExceptionHandler.java b/cloud-minecraft/cloud-minecraft-extras/src/main/java/cloud/commandframework/minecraft/extras/MinecraftExceptionHandler.java index d1527cb4..113f0005 100644 --- a/cloud-minecraft/cloud-minecraft-extras/src/main/java/cloud/commandframework/minecraft/extras/MinecraftExceptionHandler.java +++ b/cloud-minecraft/cloud-minecraft-extras/src/main/java/cloud/commandframework/minecraft/extras/MinecraftExceptionHandler.java @@ -245,19 +245,19 @@ public final class MinecraftExceptionHandler { */ public enum ExceptionType { /** - * The input does not correspond to any known command + * The input does not correspond to any known command ({@link InvalidSyntaxException}) */ INVALID_SYNTAX, /** - * The sender is not of the right type + * The sender is not of the right type ({@link InvalidCommandSenderException}) */ INVALID_SENDER, /** - * The sender does not have permission to execute the command + * The sender does not have permission to execute the command (@{@link NoPermissionException}) */ NO_PERMISSION, /** - * An argument failed to parse + * An argument failed to parse ({@link ArgumentParseException}) */ ARGUMENT_PARSING }