Use player instead of just the location they were at when the event fired

This commit is contained in:
Teriuihi 2022-01-13 21:31:41 +01:00
parent 8762a89751
commit 70251bbce7

View File

@ -44,7 +44,7 @@ public class PlayerJoinListener implements Listener {
ParticleSet particleSet = finalPlayerSettings.getParticles(aPartType); ParticleSet particleSet = finalPlayerSettings.getParticles(aPartType);
if (particleSet == null) if (particleSet == null)
return; return;
particleSet.run(player.getLocation()); particleSet.run(player);
}); });
} }
}.runTaskAsynchronously(AltitudeParticles.getInstance()); }.runTaskAsynchronously(AltitudeParticles.getInstance());