diff options
author | cora <coradelamouche@gmx.ch> | 2023-09-03 01:12:42 +0200 |
---|---|---|
committer | cora <coradelamouche@gmx.ch> | 2023-09-03 01:12:42 +0200 |
commit | e2d01755b923048350359b20e31bcab2d9ddada0 (patch) | |
tree | 9554f734280111fc8bbe6675cd2a629252ae67df /src/network/clientpackethandler.cpp | |
parent | 6df1590803bf89eca455238aae006a74c98b8ce2 (diff) | |
download | dragonfireclient-e2d01755b923048350359b20e31bcab2d9ddada0.tar.xz |
Add on_receive_particlespawner lua CSM callback
Diffstat (limited to 'src/network/clientpackethandler.cpp')
-rw-r--r-- | src/network/clientpackethandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/clientpackethandler.cpp b/src/network/clientpackethandler.cpp index 1f17470af..eceedb643 100644 --- a/src/network/clientpackethandler.cpp +++ b/src/network/clientpackethandler.cpp @@ -1056,7 +1056,7 @@ void Client::handleCommand_AddParticleSpawner(NetworkPacket* pkt) event->add_particlespawner.p = new ParticleSpawnerParameters(p); event->add_particlespawner.attached_id = attached_id; event->add_particlespawner.id = server_id; - + if (m_mods_loaded && m_script->on_receive_particlespawner(*event->add_particlespawner.p)) return; m_client_event_queue.push(event); } |