diff --git a/EpicAnchors-Plugin/src/main/java/com/songoda/epicanchors/handlers/AnchorHandler.java b/EpicAnchors-Plugin/src/main/java/com/songoda/epicanchors/handlers/AnchorHandler.java index e074af2..5b5a3b9 100644 --- a/EpicAnchors-Plugin/src/main/java/com/songoda/epicanchors/handlers/AnchorHandler.java +++ b/EpicAnchors-Plugin/src/main/java/com/songoda/epicanchors/handlers/AnchorHandler.java @@ -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)); + + } }