Commit 7b8cd5d5 authored by Him188moe's avatar Him188moe

Updated robot & network structure

parent d0a9a9da
...@@ -29,6 +29,9 @@ public final class MessageChain extends Message { ...@@ -29,6 +29,9 @@ public final class MessageChain extends Message {
list.add(message); list.add(message);
} }
/**
* @return An unmodifiable list
*/
public List<Message> toList() { public List<Message> toList() {
return List.copyOf(list); return List.copyOf(list);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment