diff --git a/src/main/java/net/vinrobot/mcemote/config/impl/TwitchIdOptionImpl.java b/src/main/java/net/vinrobot/mcemote/config/impl/TwitchIdOptionImpl.java index 5c434ce..1f82452 100644 --- a/src/main/java/net/vinrobot/mcemote/config/impl/TwitchIdOptionImpl.java +++ b/src/main/java/net/vinrobot/mcemote/config/impl/TwitchIdOptionImpl.java @@ -12,8 +12,8 @@ public void validate(final String value) { super.validate(value); final int length = value.length(); - if (length == 0 || 8 < length) { - throw new ValidationFailedException("Twitch ID must be between 1 and 8 digits"); + if (length == 0) { + throw new ValidationFailedException("Twitch ID cannot be empty"); } try {