Skip to content

Commit

Permalink
Fix formatting yet again
Browse files Browse the repository at this point in the history
  • Loading branch information
Shroopy committed Nov 27, 2024
1 parent 2f1ae67 commit 65d9152
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ public void tick() {
if (onBasin())
applyOnBasin();

if (level.getBlockState(worldPosition.below(2)).getSoundType() == SoundType.WOOL)
if (level.getBlockState(worldPosition.below(2))
.getSoundType() == SoundType.WOOL)
AllSoundEvents.MECHANICAL_PRESS_ACTIVATION_ON_BELT.playOnServer(level, worldPosition);
else
AllSoundEvents.MECHANICAL_PRESS_ACTIVATION.playOnServer(level, worldPosition, .5f,
Expand Down Expand Up @@ -257,7 +258,7 @@ protected void spawnParticles() {
.add(0, 8 / 16f, 0), stack));
if (mode == Mode.WORLD)
particleItems.forEach(stack -> makePressingParticleEffect(VecHelper.getCenterOf(worldPosition.below(1))
.add(0, -1 / 4f, 0), stack));
.add(0, -1 / 4f, 0), stack));

particleItems.clear();
}
Expand Down

0 comments on commit 65d9152

Please sign in to comment.