From c4c04031009e6fb297e011a42c16f45cd2510e9e Mon Sep 17 00:00:00 2001 From: Jenny Date: Wed, 29 Jan 2025 01:20:38 +0100 Subject: [PATCH] make dynamite use own spawnParticles() --- gradle.properties | 2 +- .../jenny/enhancedexplosives/entities/throwable/dynamite.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 679bd0e..ce57272 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 diff --git a/src/main/java/com/jenny/enhancedexplosives/entities/throwable/dynamite.java b/src/main/java/com/jenny/enhancedexplosives/entities/throwable/dynamite.java index 567742a..3852461 100644 --- a/src/main/java/com/jenny/enhancedexplosives/entities/throwable/dynamite.java +++ b/src/main/java/com/jenny/enhancedexplosives/entities/throwable/dynamite.java @@ -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(); } } }