style+fix: player not respawning + prefix change

This commit is contained in:
aro 2023-03-14 13:34:59 +01:00
parent 6f1ce8d5d9
commit 4c5ff34a8d
2 changed files with 2 additions and 7 deletions

View file

@ -50,7 +50,7 @@ redis:
# Nicko's messages prefix. # Nicko's messages prefix.
# Accepted values: any string # Accepted values: any string
prefix: 5Nicko §8§l §r" prefix: 6Nicko §8§l| §r"
# Nicko will copy the English locale as "lang.yml" # Nicko will copy the English locale as "lang.yml"
# and will use the translations in that file when "Server Custom" # and will use the translations in that file when "Server Custom"

View file

@ -87,12 +87,7 @@ public class v1_19_R2 implements Internals {
} }
} }
final ClientboundPlayerInfoUpdatePacket init = new ClientboundPlayerInfoUpdatePacket( final ClientboundPlayerInfoUpdatePacket init = ClientboundPlayerInfoUpdatePacket.createPlayerInitializing(Collections.singletonList(serverPlayer));
EnumSet.of(ClientboundPlayerInfoUpdatePacket.Action.ADD_PLAYER,
ClientboundPlayerInfoUpdatePacket.Action.INITIALIZE_CHAT,
ClientboundPlayerInfoUpdatePacket.Action.UPDATE_LATENCY,
ClientboundPlayerInfoUpdatePacket.Action.UPDATE_LISTED),
Collections.singletonList(serverPlayer));
final ClientboundPlayerInfoRemovePacket remove = new ClientboundPlayerInfoRemovePacket(Collections.singletonList(player.getUniqueId())); final ClientboundPlayerInfoRemovePacket remove = new ClientboundPlayerInfoRemovePacket(Collections.singletonList(player.getUniqueId()));
RemoteChatSession chatSession; RemoteChatSession chatSession;