diff --git a/spigot/src/main/java/us/ajg0702/queue/spigot/communication/ResponseManager.java b/spigot/src/main/java/us/ajg0702/queue/spigot/communication/ResponseManager.java index b8ed6a8..5ed1b87 100644 --- a/spigot/src/main/java/us/ajg0702/queue/spigot/communication/ResponseManager.java +++ b/spigot/src/main/java/us/ajg0702/queue/spigot/communication/ResponseManager.java @@ -21,10 +21,7 @@ public class ResponseManager { public void executeResponse(ComResponse response) { ResponseKey key = new ResponseKey(response.getIdentifier(), response.getFrom()); Consumer callback = responseMap.get(key); - if(callback == null) { - System.out.println("[ajQueue] No callback for " + key + " with " + response); - return; - } + if(callback == null) return; responseMap.remove(key); callback.accept(response); }