Fix: reconnecting from an exception handler does not work.
This commit is contained in:
1 parent
c01f194d06
commit
d36b652b69
2 files changed
+76
-40
No files matched your search
@@ -69,6 +69,13 @@ class LoginDisconnect(ConnectionFailure):
|
||||
"""
|
||||
|
||||
|
||||
class InvalidState(ConnectionFailure):
|
||||
"""Raised by 'minecraft.networking.Connection' when a connection attempt
|
||||
fails due to to the internal state of the Connection being unsuitable,
|
||||
for example if there is an existing ongoing connection.
|
||||
"""
|
||||
|
||||
|
||||
class IgnorePacket(Exception):
|
||||
"""This exception may be raised from within a packet handler, such as
|
||||
`PacketReactor.react' or a packet listener added with
|
||||
|
||||
Reference in new issue
Block a user