mirror of https://github.com/Minestom/Minestom.git
fix: do not convert optchat metadata to chat
This commit is contained in:
parent
4c8e7f4a2c
commit
594dc82dac
|
@ -77,8 +77,6 @@ public record EntityMetaDataPacket(int entityId,
|
|||
} else {
|
||||
entries.put(key, value);
|
||||
}
|
||||
|
||||
entries.put(key, v instanceof Component c ? Metadata.Chat(operator.apply(c)) : value);
|
||||
});
|
||||
|
||||
return new EntityMetaDataPacket(this.entityId, entries);
|
||||
|
|
Loading…
Reference in New Issue