Allow for spaces between comma-separated potion effects.

This commit is contained in:
garbagemule
2014-12-08 16:48:53 +01:00
parent 243c5ea6ea
commit bca1d387a4
@@ -20,7 +20,7 @@ public class PotionEffectParser
List<PotionEffect> potions = new ArrayList<PotionEffect>();
for (String potion : s.split(",")) {
PotionEffect eff = parsePotionEffect(potion);
PotionEffect eff = parsePotionEffect(potion.trim());
if (eff != null) {
potions.add(eff);
}