mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-08-10 22:35:34 +00:00
Code cleanup
This commit is contained in:
parent
e6ca822aed
commit
753b0f823a
11 changed files with 148 additions and 224 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().getName(), xPos, yPos, zPos, particle);
|
||||
FixedParticleEffect fixedEffect = new FixedParticleEffect(p.getUniqueId(), nextFixedEffectId, 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