From 11b4d65f2aa5bd8af518e650a0fcaf7253cb5aea Mon Sep 17 00:00:00 2001 From: Yifang DONG Date: Wed, 21 Dec 2022 01:01:19 +0100 Subject: [PATCH] Print the actions When actions is not empty, we should print out the actions also --- starterAIs/Starter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/starterAIs/Starter.java b/starterAIs/Starter.java index d5f98c1..5acdd63 100644 --- a/starterAIs/Starter.java +++ b/starterAIs/Starter.java @@ -106,8 +106,8 @@ public static void main(String args[]) { if (actions.isEmpty()) { System.out.println("WAIT"); } else { - actions.stream().collect(Collectors.joining(";")); + System.out.println(actions.stream().collect(Collectors.joining(";"))); } } } -} \ No newline at end of file +}