public void display(Particle particle, Location center, float offsetX, float offsetY, float offsetZ, float speed, int amount, float size, Color color, Material material, byte materialData, double range, List<Player> targetPlayers) { if (display == null) { display = ParticleDisplay.newInstance(); } display.display(particle, center, offsetX, offsetY, offsetZ, speed, amount, size, color, material, materialData, range, targetPlayers); }
private ParticleDisplay getDisplay() { if (display == null) { display = ParticleDisplay.newInstance(); } display.setManager(this); return display; }