mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-26 12:46:04 +01:00
Update NMSImpl.java
This commit is contained in:
parent
a669a8a256
commit
1ceb51589f
@ -1102,8 +1102,8 @@ public class NMSImpl implements NMSBridge {
|
|||||||
if (Setting.DISABLE_TABLIST.asBoolean() != data.listed()) {
|
if (Setting.DISABLE_TABLIST.asBoolean() != data.listed()) {
|
||||||
list.set(i,
|
list.set(i,
|
||||||
new ClientboundPlayerInfoUpdatePacket.Entry(data.profileId(), data.profile(),
|
new ClientboundPlayerInfoUpdatePacket.Entry(data.profileId(), data.profile(),
|
||||||
Setting.DISABLE_TABLIST.asBoolean(), data.latency(), data.gameMode(),
|
!Setting.DISABLE_TABLIST.asBoolean(), data.latency(), data.gameMode(),
|
||||||
Setting.DISABLE_TABLIST.asBoolean() ? data.displayName() : Component.empty(),
|
!Setting.DISABLE_TABLIST.asBoolean() ? data.displayName() : Component.empty(),
|
||||||
data.chatSession()));
|
data.chatSession()));
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user