mirror of
https://github.com/kuitoi/kuitoi-Server.git
synced 2026-02-16 02:20:52 +00:00
[~] FastFix
This commit is contained in:
@@ -134,6 +134,9 @@ class Client:
|
||||
|
||||
async def send_event(self, event_name, event_data, to_all=True):
|
||||
self.log.debug(f"send_event: {event_name}:{event_data}; {to_all=}")
|
||||
if not self.ready:
|
||||
self.log.debug(f"Client not ready.")
|
||||
return
|
||||
if isinstance(event_data, (list, tuple, dict)):
|
||||
event_data = json.dumps(event_data, separators=(',', ':'))
|
||||
if len(event_data) > 104857599:
|
||||
|
||||
@@ -10,7 +10,7 @@ __title__ = 'KuiToi-Server'
|
||||
__description__ = 'BeamingDrive Multiplayer server compatible with BeamMP clients.'
|
||||
__url__ = 'https://github.com/kuitoi/kuitoi-Server'
|
||||
__version__ = '0.4.8 (pre)'
|
||||
__build__ = 2483 # Я это считаю лог файлами
|
||||
__build__ = 2511 # Я это считаю лог файлами
|
||||
__author__ = 'SantaSpeen'
|
||||
__author_email__ = 'admin@kuitoi.su'
|
||||
__license__ = "FPA"
|
||||
|
||||
Reference in New Issue
Block a user