propagate unwrapped func for stacked decorators
This commit is contained in:
parent
83beb50a42
commit
657aa767c5
1 changed files with 2 additions and 1 deletions
|
@ -138,7 +138,8 @@ class Treepuncher(MinecraftClient):
|
||||||
msg = ChatEvent(packet.message)
|
msg = ChatEvent(packet.message)
|
||||||
if not msg_type or msg.type == msg_type:
|
if not msg_type or msg.type == msg_type:
|
||||||
return await fun(msg)
|
return await fun(msg)
|
||||||
return self.register(PacketChatMessage, process_chat_packet)
|
self.register(PacketChatMessage, process_chat_packet)
|
||||||
|
return fun
|
||||||
return wrapper
|
return wrapper
|
||||||
|
|
||||||
def on_death(self):
|
def on_death(self):
|
||||||
|
|
Loading…
Reference in a new issue