mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-08-09 05:53:06 +00:00
More API functionality
This commit is contained in:
parent
2c172f6ff7
commit
69d23c0527
5 changed files with 270 additions and 37 deletions
|
@ -271,7 +271,7 @@ public class FixedCommandModule implements CommandModule {
|
|||
|
||||
int nextFixedEffectId = pplayer.getNextFixedEffectId();
|
||||
ParticlePair particle = new ParticlePair(pplayer.getUniqueId(), nextFixedEffectId, effect, style, itemData, blockData, colorData, noteColorData);
|
||||
FixedParticleEffect fixedEffect = new FixedParticleEffect(p.getUniqueId(), nextFixedEffectId, p.getLocation().getWorld(), xPos, yPos, zPos, particle);
|
||||
FixedParticleEffect fixedEffect = new FixedParticleEffect(p.getUniqueId(), nextFixedEffectId, new Location(p.getLocation().getWorld(), xPos, yPos, zPos), particle);
|
||||
|
||||
localeManager.sendMessage(pplayer, "fixed-create-success");
|
||||
PlayerParticles.getInstance().getManager(DataManager.class).saveFixedEffect(fixedEffect);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue