Merge branch 'development' into 'master'
Fix for particle error. See merge request Songoda/epicanchors!7
This commit is contained in:
commit
88a274a61b
|
@ -75,7 +75,12 @@ public class AnchorHandler {
|
|||
xx = (float) (0 + (Math.random() * .75));
|
||||
yy = (float) (0 + (Math.random() * 1));
|
||||
zz = (float) (0 + (Math.random() * .75));
|
||||
location1.getWorld().spawnParticle(Particle.REDSTONE, location1, 5, xx, yy, zz, 1);
|
||||
if (!instance.isServerVersionAtLeast(ServerVersion.V1_13))
|
||||
location1.getWorld().spawnParticle(Particle.REDSTONE, location1, 5, xx, yy, zz, 1);
|
||||
else
|
||||
location1.getWorld().spawnParticle(Particle.REDSTONE, location1, 5, xx, yy, zz, 1, new Particle.DustOptions(Color.WHITE, 1F));
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue