13
0
geforkt von Mirrors/Velocity

Remove leftovers

Dieser Commit ist enthalten in:
Five (Xer) 2021-02-25 14:49:29 +01:00 committet von FivePB
Ursprung 22bc759044
Commit 6207647aae
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 37DED8CFF428E1A4
2 geänderte Dateien mit 6 neuen und 8 gelöschten Zeilen

Datei anzeigen

@ -253,15 +253,15 @@ public enum StateRegistry {
map(0x4F, MINECRAFT_1_14, true),
map(0x50, MINECRAFT_1_15, true),
map(0x4F, MINECRAFT_1_16, MINECRAFT_1_16_4, true));
clientbound.register(TitleSubtitlePacket.class, TitleSubtitlePacket::new, // TODO: fix
clientbound.register(TitleSubtitlePacket.class, TitleSubtitlePacket::new,
map(0x57, MINECRAFT_1_17, true));
clientbound.register(TitleTextPacket.class, TitleTextPacket::new, // TODO: fix
clientbound.register(TitleTextPacket.class, TitleTextPacket::new,
map(0x5A, MINECRAFT_1_17, true));
clientbound.register(TitleActionbarPacket.class, TitleActionbarPacket::new, // TODO: fix
clientbound.register(TitleActionbarPacket.class, TitleActionbarPacket::new,
map(0x41, MINECRAFT_1_17, true));
clientbound.register(TitleTimesPacket.class, TitleTimesPacket::new, // TODO: fix
clientbound.register(TitleTimesPacket.class, TitleTimesPacket::new,
map(0x59, MINECRAFT_1_17, true));
clientbound.register(TitleClearPacket.class, TitleClearPacket::new, // TODO: fix
clientbound.register(TitleClearPacket.class, TitleClearPacket::new,
map(0x10, MINECRAFT_1_17, true));
clientbound.register(PlayerListItem.class, PlayerListItem::new,
map(0x38, MINECRAFT_1_7_2, false),

Datei anzeigen

@ -24,8 +24,6 @@ import io.netty.buffer.ByteBuf;
public class TitleClearPacket extends GenericTitlePacket {
private boolean resetTimes;
public TitleClearPacket() {
setAction(ActionType.HIDE);
}
@ -46,7 +44,7 @@ public class TitleClearPacket extends GenericTitlePacket {
@Override
public String toString() {
return "TitleClearPacket{"
+ ", reset=" + resetTimes
+ ", resetTimes=" + (getAction() == ActionType.RESET)
+ '}';
}