mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-08-07 04:53:04 +00:00
More API functionality
This commit is contained in:
parent
2c172f6ff7
commit
69d23c0527
5 changed files with 270 additions and 37 deletions
|
@ -107,6 +107,15 @@ public class ParticleManager extends Manager implements Listener, Runnable {
|
|||
return this.particlePlayers.values();
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a PPlayer to the loaded map
|
||||
*
|
||||
* @param pplayer The PPlayer to add
|
||||
*/
|
||||
public void addPPlayer(PPlayer pplayer) {
|
||||
this.particlePlayers.put(pplayer.getUniqueId(), pplayer);
|
||||
}
|
||||
|
||||
/**
|
||||
* The main loop to display all the particles
|
||||
* Does not display particles if the world is disabled or if the player is in spectator mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue