UnrestPotionEvent

The Unrest Potion Event is an event called when the player puts on or takes off an Unrest helmet.

Description
The UnrestPotionEvent is a class that adds one local variable: a PotionEventType for whether the potion effect should be added or removed.

Constructor
UnrestPotionEvent(Player who, PotionEventType unrest)
 * // Player who - the player
 * // PotionEventType unrest - whether the potion effect should be ADDed or REMOVEd.

Implements
None

Extends
PotionEffectEvent

PotionEventType getUnrest
Returns whether the potion effect should be added or removed. Values are either ADD or REMOVE.