diff --git a/core/src/main/resources/config.yml b/core/src/main/resources/config.yml index de2d1e3..22f718a 100644 --- a/core/src/main/resources/config.yml +++ b/core/src/main/resources/config.yml @@ -50,7 +50,7 @@ redis: # Nicko's messages prefix. # Accepted values: any string -prefix: "§5Nicko §8§l| §r" +prefix: "§6Nicko §8§l| §r" # Nicko will copy the English locale as "lang.yml" # and will use the translations in that file when "Server Custom" diff --git a/v1_19_R2/src/main/java/net/artelnatif/nicko/impl/v1_19_R2.java b/v1_19_R2/src/main/java/net/artelnatif/nicko/impl/v1_19_R2.java index 25268fd..4059960 100644 --- a/v1_19_R2/src/main/java/net/artelnatif/nicko/impl/v1_19_R2.java +++ b/v1_19_R2/src/main/java/net/artelnatif/nicko/impl/v1_19_R2.java @@ -87,12 +87,7 @@ public class v1_19_R2 implements Internals { } } - final ClientboundPlayerInfoUpdatePacket init = new ClientboundPlayerInfoUpdatePacket( - EnumSet.of(ClientboundPlayerInfoUpdatePacket.Action.ADD_PLAYER, - ClientboundPlayerInfoUpdatePacket.Action.INITIALIZE_CHAT, - ClientboundPlayerInfoUpdatePacket.Action.UPDATE_LATENCY, - ClientboundPlayerInfoUpdatePacket.Action.UPDATE_LISTED), - Collections.singletonList(serverPlayer)); + final ClientboundPlayerInfoUpdatePacket init = ClientboundPlayerInfoUpdatePacket.createPlayerInitializing(Collections.singletonList(serverPlayer)); final ClientboundPlayerInfoRemovePacket remove = new ClientboundPlayerInfoRemovePacket(Collections.singletonList(player.getUniqueId())); RemoteChatSession chatSession;