diff --git a/src/main/java/com/massivecraft/factions/util/particle/PacketParticleProvider.java b/src/main/java/com/massivecraft/factions/util/particle/PacketParticleProvider.java index 7099d52a..0c04e167 100644 --- a/src/main/java/com/massivecraft/factions/util/particle/PacketParticleProvider.java +++ b/src/main/java/com/massivecraft/factions/util/particle/PacketParticleProvider.java @@ -47,6 +47,12 @@ public class PacketParticleProvider implements ParticleProvider @Override public ParticleEffect effectFromString(String string) { + for (ParticleEffect effect : ParticleEffect.values()) { + if (effect.name().equalsIgnoreCase(string)) { + return effect; + } + } + // If none of the Enum name matches fallback to the other names return ParticleEffect.fromName(string); }