mirror of
https://github.com/Nan1t/NanoLimbo.git
synced 2025-07-14 21:20:15 +02:00
Fixed some codefactor issues
This commit is contained in:
parent
5a2049520c
commit
6aea0392d4
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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() {}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user