public class IslandChangePaypalEvent extends IslandEvent implements org.bukkit.event.Cancellable
island
Constructor and Description |
---|
IslandChangePaypalEvent(SuperiorPlayer superiorPlayer,
Island island,
java.lang.String paypal)
The constructor of the event.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPaypal()
Get the new paypal of the island.
|
SuperiorPlayer |
getPlayer()
Get the player that changed the paypal of the island.
|
boolean |
isCancelled() |
void |
setCancelled(boolean cancelled) |
void |
setPaypal(java.lang.String paypal)
Set the new paypal for the island.
|
getHandlerList, getHandlers, getIsland
public IslandChangePaypalEvent(SuperiorPlayer superiorPlayer, Island island, java.lang.String paypal)
superiorPlayer
- The player that changed the paypal of the island.island
- The island that the paypal was changed for.paypal
- The new paypal of the islandpublic SuperiorPlayer getPlayer()
public java.lang.String getPaypal()
public void setPaypal(java.lang.String paypal)
paypal
- The new paypal to set.public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean cancelled)
setCancelled
in interface org.bukkit.event.Cancellable