From 5b28dc6deaeb85901205b5d2c54587a3184ab8b1 Mon Sep 17 00:00:00 2001 From: Keuin Date: Sun, 14 Aug 2022 13:04:39 +0800 Subject: Bugfix: history message replay is not working. Now its behavior is the same with legacy BungeeCross. --- .../keuin/crosslink/messaging/history/HistoricMessageRecorderTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/java') diff --git a/src/test/java/com/keuin/crosslink/messaging/history/HistoricMessageRecorderTest.java b/src/test/java/com/keuin/crosslink/messaging/history/HistoricMessageRecorderTest.java index 4dfdfd4..2d8dedf 100644 --- a/src/test/java/com/keuin/crosslink/messaging/history/HistoricMessageRecorderTest.java +++ b/src/test/java/com/keuin/crosslink/messaging/history/HistoricMessageRecorderTest.java @@ -23,7 +23,7 @@ class HistoricMessageRecorderTest { Thread.sleep(500); var list = recorder.getMessages(); assertEquals(1, list.size()); - assertEquals(msg, list.get(0)); + assertEquals(msg, list.get(0).getV()); Thread.sleep(510); list = recorder.getMessages(); assertEquals(0, list.size()); -- cgit v1.2.3