Fix world particles issues

This commit is contained in:
Shaun Bennett 2015-05-03 15:30:58 -05:00
parent 17cbcc3771
commit 73719e0df3
2 changed files with 5 additions and 1 deletions

View File

@ -22,6 +22,10 @@ public class PacketPlayOutWorldParticles extends Packet {
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) {
this.a = s;
this.b = f;

View File

@ -240,7 +240,7 @@ public class BuildData
if (all)
UtilParticle.PlayParticle(type, loc, 0.4f, 0.4f, 0.4f, 0, amount);
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);
}
}