Run at block location, not player location

This commit is contained in:
auto committed 2022-01-13 23:31:56 +01:00
1 parent 938c3f6f1b
commit 5d5827e917
1 file changed
+1 -1
@@ -49,7 +49,7 @@ public class RightClickListener implements Listener {
ParticleSet particleSet = playerSettings.getParticles(aPartType); ParticleSet particleSet = playerSettings.getParticles(aPartType);
if (particleSet == null) if (particleSet == null)
return; return;
particleSet.run(player.getLocation()); particleSet.run(clickedBlock.getLocation());
}); });
} }
}.runTaskAsynchronously(AltitudeParticles.getInstance()); }.runTaskAsynchronously(AltitudeParticles.getInstance());