make dynamite use own spawnParticles()

This commit is contained in:
Jenny 2025-01-29 01:20:38 +01:00
parent 55ee7fc999
commit c4c0403100
Signed by: Jenny
GPG Key ID: 2072A14E40940632
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ mod_name=Enhanced Explosives
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=All Rights Reserved
# The mod version. See https://semver.org/
mod_version=0.9.2
mod_version=0.9.3
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html

View File

@ -46,7 +46,7 @@ public class dynamite extends basePrimedTNT {
} else {
this.updateInWaterStateAndDoFluidPushing();
if (this.level().isClientSide) {
this.level().addParticle(ParticleTypes.SMOKE, this.getX(), this.getY() + 0.5D, this.getZ(), 0.0D, 0.0D, 0.0D);
spawnParticles();
}
}
}