diff --git a/src/com/garbagemule/MobArena/util/PotionEffectParser.java b/src/com/garbagemule/MobArena/util/PotionEffectParser.java index a86f96d..fbd9aa5 100644 --- a/src/com/garbagemule/MobArena/util/PotionEffectParser.java +++ b/src/com/garbagemule/MobArena/util/PotionEffectParser.java @@ -20,7 +20,7 @@ public class PotionEffectParser List potions = new ArrayList(); for (String potion : s.split(",")) { - PotionEffect eff = parsePotionEffect(potion); + PotionEffect eff = parsePotionEffect(potion.trim()); if (eff != null) { potions.add(eff); }