Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
301a51bcd9
Commit
bdb708a7a8
@ -50,6 +50,7 @@ public class FileSource extends PacketSource {
|
|||||||
|
|
||||||
public FileSource(File fightFile) throws IOException {
|
public FileSource(File fightFile) throws IOException {
|
||||||
super(new GZIPInputStream(new FileInputStream(fightFile)));
|
super(new GZIPInputStream(new FileInputStream(fightFile)));
|
||||||
|
new PacketProcessor(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -31,6 +31,7 @@ public class LiveSource extends PacketSource {
|
|||||||
protected LiveSource(Socket socket) throws IOException {
|
protected LiveSource(Socket socket) throws IOException {
|
||||||
super(socket.getInputStream());
|
super(socket.getInputStream());
|
||||||
this.socket = socket;
|
this.socket = socket;
|
||||||
|
new PacketProcessor(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -30,7 +30,6 @@ public abstract class PacketSource extends DataInputStream {
|
|||||||
|
|
||||||
protected PacketSource(InputStream inputStream){
|
protected PacketSource(InputStream inputStream){
|
||||||
super(inputStream);
|
super(inputStream);
|
||||||
new PacketProcessor(this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren