Fix a NPE when a potion doesn't have a effect.