diff --git a/minecraft/networking/encryption.py b/minecraft/networking/encryption.py index 5d463d1..39fabf6 100644 --- a/minecraft/networking/encryption.py +++ b/minecraft/networking/encryption.py @@ -70,6 +70,9 @@ class EncryptedFileObjectWrapper(object): def read(self, length): return self.decryptor.update(self.actual_file_object.read(length)) + def fileno(self): + return self.actual_file_object.fileno() + class EncryptedSocketWrapper(object): def __init__(self, socket, encryptor, decryptor):