More API functionality

This commit is contained in:
Esophose 2020-01-08 17:15:55 -07:00
parent 2c172f6ff7
commit 69d23c0527
5 changed files with 270 additions and 37 deletions

View file

@ -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