From 5d68d75276b54ea8c50ce523589f53eed929d4be Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sun, 21 Mar 2021 14:12:31 +0100 Subject: [PATCH] Fix FightfileConnection --- src/de/steamwar/spectatesystem/FightfileConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/spectatesystem/FightfileConnection.java b/src/de/steamwar/spectatesystem/FightfileConnection.java index 8cff5a4..6b426ea 100644 --- a/src/de/steamwar/spectatesystem/FightfileConnection.java +++ b/src/de/steamwar/spectatesystem/FightfileConnection.java @@ -35,7 +35,7 @@ public class FightfileConnection extends PacketSource { } @Override - public boolean isClosed() { + boolean isClosed() { try{ return inputStream.available() == 0; }catch (IOException e){