Made the InfinitePotionTask class