Make Potion.isBadEffect available server-side