diff --git a/sig/App.java b/sig/App.java index 8af9e2e..eae5067 100644 --- a/sig/App.java +++ b/sig/App.java @@ -292,7 +292,7 @@ class Server } } - CollectioncommandQueue=Collections.synchronizedCollection(new ArrayList<>()); + ListcommandQueue=Collections.synchronizedList(new ArrayList<>()); // constructor with port public Server(int port) @@ -454,6 +454,7 @@ class Server } } } + commandQueue.clear(); if (queueUpSprint&&nextActionTimer==0){ PressKey(KeyEvent.VK_N);