fix: do not convert optchat metadata to chat

This commit is contained in:
mworzala 2024-04-28 12:09:50 -04:00 committed by Matt Worzala
parent 580438cde8
commit 0650caa155

View File

@ -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);