Added potion effect saving. Fixes #164.