mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Particles: Do not add digging particles for airlike nodes (#6392)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user