negate particle support in 1.8

This commit is contained in:
Brianna 2019-05-03 15:57:42 -04:00
parent 3c5f4e5185
commit 60cae72519

View File

@ -34,8 +34,9 @@ public class ParticleHandler {
Location location = kitBlockData.getLocation();
location.add(.5, 0, .5);
if (plugin.isServerVersionAtLeast(ServerVersion.V1_8))
if (plugin.isServerVersionAtLeast(ServerVersion.V1_9))
location.getWorld().spawnParticle(org.bukkit.Particle.valueOf(type), location, amt, 0.25, 0.25, 0.25);
}
} catch (Exception ex) {