Fix world particles issues
This commit is contained in:
parent
17cbcc3771
commit
73719e0df3
|
@ -22,6 +22,10 @@ public class PacketPlayOutWorldParticles extends Packet {
|
||||||
public PacketPlayOutWorldParticles() {
|
public PacketPlayOutWorldParticles() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public PacketPlayOutWorldParticles(String s, float f, float f1, float f2, float f3, float f4, float f5, float f6, int i) {
|
||||||
|
this(s, f, f1, f2, f3, f4, f5, f6, i, false);
|
||||||
|
}
|
||||||
|
|
||||||
public PacketPlayOutWorldParticles(String s, float f, float f1, float f2, float f3, float f4, float f5, float f6, int i, boolean displayFar) {
|
public PacketPlayOutWorldParticles(String s, float f, float f1, float f2, float f3, float f4, float f5, float f6, int i, boolean displayFar) {
|
||||||
this.a = s;
|
this.a = s;
|
||||||
this.b = f;
|
this.b = f;
|
||||||
|
|
|
@ -240,7 +240,7 @@ public class BuildData
|
||||||
if (all)
|
if (all)
|
||||||
UtilParticle.PlayParticle(type, loc, 0.4f, 0.4f, 0.4f, 0, amount);
|
UtilParticle.PlayParticle(type, loc, 0.4f, 0.4f, 0.4f, 0, amount);
|
||||||
else
|
else
|
||||||
UtilParticle.PlayParticle(Player, type, loc, 0.4f, 0.4f, 0.4f, 0, amount);
|
UtilParticle.PlayParticle(Player, type, loc, 0.4f, 0.4f, 0.4f, 0, amount, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue