From a7275278e42d940e9faf7a26d1cf52b12e162222 Mon Sep 17 00:00:00 2001 From: ProSavage Date: Sun, 29 Jul 2018 23:58:07 -0500 Subject: [PATCH] Fixed seechunk particles being seen by all players & their locations. --- src/main/java/com/massivecraft/factions/cmd/CmdSeeChunk.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/massivecraft/factions/cmd/CmdSeeChunk.java b/src/main/java/com/massivecraft/factions/cmd/CmdSeeChunk.java index 12d58871..26fba199 100644 --- a/src/main/java/com/massivecraft/factions/cmd/CmdSeeChunk.java +++ b/src/main/java/com/massivecraft/factions/cmd/CmdSeeChunk.java @@ -124,7 +124,7 @@ public class CmdSeeChunk extends FCommand { } if (useParticles) { if (P.p.useNonPacketParticles) { - player.getWorld().spawnParticle(Particle.REDSTONE, player.getLocation().add(0, -0.35, 0), 0,new Particle.DustOptions(Color.RED,1)); + player.spawnParticle(Particle.REDSTONE, loc, 0, new Particle.DustOptions(Color.RED, 1)); } else { this.effect.display(0, 0, 0, 0, 1, loc, player); }