Run at block location, not player location

This commit is contained in:
Teriuihi 2022-01-13 23:31:56 +01:00
parent 938c3f6f1b
commit 5d5827e917

View File

@ -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());