Fixed some codefactor issues

This commit is contained in:
Nanit 2022-02-07 16:00:43 +02:00
parent 5a2049520c
commit 6aea0392d4
2 changed files with 4 additions and 2 deletions

View File

@ -61,6 +61,8 @@ public class PacketTitleLegacy implements PacketOut {
case SET_TIMES_AND_DISPLAY:
times.encode(msg, version);
break;
default:
throw new IllegalArgumentException("Invalid title action: " + action);
}
}

View File

@ -19,8 +19,8 @@ package ru.nanit.limbo.util;
public final class Colors {
private static final char CHAR_FROM = '\u0026';
private static final char CHAR_TO = '\u00A7';
private static final char CHAR_FROM = '&';
private static final char CHAR_TO = '§';
private Colors() {}