From 70251bbce711d779ab5ca2922ee9b56e4aa70823 Mon Sep 17 00:00:00 2001 From: Teriuihi Date: Thu, 13 Jan 2022 21:31:41 +0100 Subject: [PATCH] Use player instead of just the location they were at when the event fired --- src/main/java/com/alttd/listeners/PlayerJoinListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/alttd/listeners/PlayerJoinListener.java b/src/main/java/com/alttd/listeners/PlayerJoinListener.java index 1cdbb30..40b3174 100644 --- a/src/main/java/com/alttd/listeners/PlayerJoinListener.java +++ b/src/main/java/com/alttd/listeners/PlayerJoinListener.java @@ -44,7 +44,7 @@ public class PlayerJoinListener implements Listener { ParticleSet particleSet = finalPlayerSettings.getParticles(aPartType); if (particleSet == null) return; - particleSet.run(player.getLocation()); + particleSet.run(player); }); } }.runTaskAsynchronously(AltitudeParticles.getInstance());