mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Particles: Do not add digging particles for airlike nodes (#6392)
This commit is contained in:
parent
e3093cbe85
commit
1105a14bcc
3 changed files with 9 additions and 10 deletions
|
@ -4032,7 +4032,7 @@ void Game::handleDigging(const PointedThing &pointed, const v3s16 &nodepos,
|
|||
|
||||
if (m_cache_enable_particles) {
|
||||
const ContentFeatures &features = client->getNodeDefManager()->get(n);
|
||||
client->getParticleManager()->addPunchingParticles(client,
|
||||
client->getParticleManager()->addNodeParticle(client,
|
||||
player, nodepos, n, features);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue