9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-31 12:56:39 +00:00

particle fix

This commit is contained in:
LoJoSho
2023-01-24 18:17:00 -06:00
parent 5309c37902
commit 2a7686e6b7

View File

@@ -40,10 +40,10 @@ public class ActionParticle extends Action {
MessagesUtil.sendDebugMessages("The particle " + rawString[0] + " is not supported by this action!");
return;
}
Particle particle1 = ServerUtils.addParticleValues((Particle) particleType, rawString);
particle = ServerUtils.addParticleValues(particle, rawString);
Location location = user.getPlayer().getLocation();
for (Player player : PacketManager.getViewers(location)) {
particle1.compile().send(player, location);
particle.compile().send(player, location);
}
}
}