public class WauzPlayerEventQuestCancel extends java.lang.Object implements WauzPlayerEvent
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
questName
The name of the quest to cancel.
|
core| Constructor and Description |
|---|
WauzPlayerEventQuestCancel(java.lang.String questName)
Creates an event to cancel the given quest.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(org.bukkit.entity.Player player)
Executes the event for the given player.
|
public WauzPlayerEventQuestCancel(java.lang.String questName)
questName - The name of the quest to cancel.public boolean execute(org.bukkit.entity.Player player)
execute in interface WauzPlayerEventplayer - The player for the execution.PlayerQuestConfigurator.setQuestPhase(Player, String, int),
PlayerConfigurator.setCharacterQuestSlot(Player, String, String)