mirror of
https://github.com/songoda/EpicAnchors.git
synced 2024-09-30 15:07:29 +02:00
Fixed particle error.
This commit is contained in:
parent
85d0d8009b
commit
1f6a27a8d0
@ -75,7 +75,12 @@ public class AnchorHandler {
|
|||||||
xx = (float) (0 + (Math.random() * .75));
|
xx = (float) (0 + (Math.random() * .75));
|
||||||
yy = (float) (0 + (Math.random() * 1));
|
yy = (float) (0 + (Math.random() * 1));
|
||||||
zz = (float) (0 + (Math.random() * .75));
|
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
Block a user