mirror of
https://github.com/songoda/UltimateKits.git
synced 2024-11-22 18:26:12 +01:00
negate particle support in 1.8
This commit is contained in:
parent
3c5f4e5185
commit
60cae72519
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user