mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-16 04:11:39 +01:00
fix: do not convert optchat metadata to chat
This commit is contained in:
parent
580438cde8
commit
0650caa155
@ -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
Block a user