Fix Checkstyle warnings

This commit is contained in:
filoghost 2021-05-25 00:17:44 +02:00
parent 23029e874e
commit 33bdce7915
3 changed files with 4 additions and 3 deletions

View File

@ -40,7 +40,7 @@ public interface VisibilitySettings {
/**
* Sets the visibility for a specific player, overriding the default value ({@link #getDefaultVisibility()}).
* The individual visibility value can be reverted with {@link #resetIndividualVisibility(Player)}.
*
*
* @since 1
*/
void setIndividualVisibility(@NotNull Player player, @NotNull Visibility visibility);

View File

@ -42,7 +42,8 @@ public class ProtocolLibHook {
String versionNumbers = versionNumbersMatcher.group();
if (!VersionUtils.isVersionGreaterEqual(versionNumbers, "4.4")) {
errorCollector.add("detected old unsupported version of ProtocolLib, support disabled. You must use ProtocolLib 4.4.0 or higher");
errorCollector.add("detected old unsupported version of ProtocolLib, support disabled."
+ " You must use ProtocolLib 4.4.0 or higher");
return;
}

View File

@ -107,7 +107,7 @@ public class StringWithPlaceholders {
private final String literalString;
public LiteralStringPart(String literalString) {
LiteralStringPart(String literalString) {
this.literalString = literalString;
}