1
0
mirror of https://github.com/mamoe/mirai.git synced 2025-04-25 13:03:35 +08:00

Updated robot & network structure

This commit is contained in:
Him188moe 2019-09-04 22:40:18 +08:00
parent d0a9a9da34
commit 7b8cd5d521

View File

@ -29,6 +29,9 @@ public final class MessageChain extends Message {
list.add(message);
}
/**
* @return An unmodifiable list
*/
public List<Message> toList() {
return List.copyOf(list);
}