Fixed seechunk particles being seen by all players & their locations.
This commit is contained in:
parent
bab7a2361d
commit
a7275278e4
@ -124,7 +124,7 @@ public class CmdSeeChunk extends FCommand {
|
|||||||
}
|
}
|
||||||
if (useParticles) {
|
if (useParticles) {
|
||||||
if (P.p.useNonPacketParticles) {
|
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 {
|
} else {
|
||||||
this.effect.display(0, 0, 0, 0, 1, loc, player);
|
this.effect.display(0, 0, 0, 0, 1, loc, player);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user