Fixed scripted particles not spawning on some NPCs. Custom particle packets are now sent to all players.

This commit is contained in:
luisc committed 2022-01-14 16:39:24 -06:00
1 parent 791adfc1b4
commit 0aef0827ec
1 file changed
+1 -1
@@ -319,7 +319,7 @@ public class NoppesUtilServer {
float alpha1, float alpha2, float alphaRate, int alphaRateStart,
int entityID
){
Server.sendAssociatedData(entity, EnumPacketClient.SCRIPTED_PARTICLE,
Server.sendToAll(EnumPacketClient.SCRIPTED_PARTICLE,
directory, HEXcolor, amount, maxAge,
x, y, z,
motionX, motionY, motionZ, gravity,