diff --git a/FightSystem_Core/src/de/steamwar/fightsystem/record/FileSource.java b/FightSystem_Core/src/de/steamwar/fightsystem/record/FileSource.java index 0536b01..2fcaa59 100644 --- a/FightSystem_Core/src/de/steamwar/fightsystem/record/FileSource.java +++ b/FightSystem_Core/src/de/steamwar/fightsystem/record/FileSource.java @@ -50,6 +50,7 @@ public class FileSource extends PacketSource { public FileSource(File fightFile) throws IOException { super(new GZIPInputStream(new FileInputStream(fightFile))); + new PacketProcessor(this); } @Override diff --git a/FightSystem_Core/src/de/steamwar/fightsystem/record/LiveSource.java b/FightSystem_Core/src/de/steamwar/fightsystem/record/LiveSource.java index 3a1fad5..313ff85 100644 --- a/FightSystem_Core/src/de/steamwar/fightsystem/record/LiveSource.java +++ b/FightSystem_Core/src/de/steamwar/fightsystem/record/LiveSource.java @@ -31,6 +31,7 @@ public class LiveSource extends PacketSource { protected LiveSource(Socket socket) throws IOException { super(socket.getInputStream()); this.socket = socket; + new PacketProcessor(this); } @Override diff --git a/FightSystem_Core/src/de/steamwar/fightsystem/record/PacketSource.java b/FightSystem_Core/src/de/steamwar/fightsystem/record/PacketSource.java index 855959f..e3d994c 100644 --- a/FightSystem_Core/src/de/steamwar/fightsystem/record/PacketSource.java +++ b/FightSystem_Core/src/de/steamwar/fightsystem/record/PacketSource.java @@ -30,7 +30,6 @@ public abstract class PacketSource extends DataInputStream { protected PacketSource(InputStream inputStream){ super(inputStream); - new PacketProcessor(this); } @Override