refactor: Slightly tweak ScoreboardManager registration error

This commit is contained in:
William278 2024-01-24 19:37:15 +00:00
parent 384137a67c
commit e5406051bf

View File

@ -62,7 +62,8 @@ public class ScoreboardManager {
versions.add(new Protocol404Adapter(plugin));
versions.add(new Protocol48Adapter(plugin));
} catch (NoSuchFieldError e) {
throw new IllegalStateException("Failed to register scoreboard packet adapters. Try to update velocity to latest build", e);
throw new IllegalStateException("Failed to register Scoreboard Teams packets." +
" Velocitab probably does not (yet) support your Proxy version.", e);
}
}