Skip to content

Commit

Permalink
Fix lua client handler #1
Browse files Browse the repository at this point in the history
  • Loading branch information
SantaSpeen committed Aug 17, 2023
1 parent c6fba31 commit 163b233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Client.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ async def _handle_codes(self, data):
self.log.error(f"Received event in invalid format (missing ':'), got: {data}")
event_name = data[2:sep]
even_data = data[sep + 1:]
ev.call_lua_event(event_name, even_data)
ev.call_lua_event(event_name, self.cid, even_data)
ev.call_event(event_name, data=even_data, player=self)
await ev.call_async_event(event_name, data=even_data, player=self)
case "N":
Expand Down

0 comments on commit 163b233

Please sign in to comment.