diff --git a/modules/base/src/main/java/io/github/fabricators_of_create/porting_lib/mixin/client/ParticleEngineMixin.java b/modules/base/src/main/java/io/github/fabricators_of_create/porting_lib/mixin/client/ParticleEngineMixin.java index f978c3b6..3d9dec82 100644 --- a/modules/base/src/main/java/io/github/fabricators_of_create/porting_lib/mixin/client/ParticleEngineMixin.java +++ b/modules/base/src/main/java/io/github/fabricators_of_create/porting_lib/mixin/client/ParticleEngineMixin.java @@ -59,7 +59,7 @@ public abstract class ParticleEngineMixin { @ModifyExpressionValue(method = "destroy", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/level/block/state/BlockState;shouldSpawnParticlesOnBreak()Z")) private boolean port_lib$customDestroyEffects(boolean original, BlockPos blockPos, BlockState blockState) { if (blockState.getBlock() instanceof CustomDestroyEffectsBlock custom) { - if (!custom.addDestroyEffects(blockState, level, blockPos, (ParticleEngine) (Object) this)) { + if (custom.addDestroyEffects(blockState, level, blockPos, (ParticleEngine) (Object) this)) { return false; } }