[SPIGOT-307] When hiding players, created particles are still show to other players Created: 28/Dec/14  Updated: 28/Dec/14  Resolved: 28/Dec/14

Status: Closed
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Black Hole Assignee: Thinkofname
Resolution: Fixed Votes: 0
Labels: Craftbukkit, Vanish


 Description   

When using a plugin to hide players from each other (like VanishNoPacket), particles from the hidden player are still watchable by other players.

To reproduce:
Make player A look at player B.
Make player B use creative mode and hide from player A.
Notice that player A can't see player B anymore.
With player B fly some blocks in the air, then fall down.
Notice that player A will see the generated particles on the landing site of player B.

Cause:
In WorldServer.sendParticles() the logic for canSee() ist reversed.


Generated at Sat Apr 05 06:16:34 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.