Class PlayerPaysDeathPriceEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.deathprice.DeathPriceEvent
com.palmergames.bukkit.towny.event.deathprice.PlayerPaysDeathPriceEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Field Summary
Fields inherited from class com.palmergames.bukkit.towny.event.deathprice.DeathPriceEvent
amount, cancelled, deadResident, killer, payer
-
Constructor Summary
ConstructorDescriptionPlayerPaysDeathPriceEvent
(Account payer, double amount, Resident deadResident, org.bukkit.entity.Player killer) -
Method Summary
Methods inherited from class com.palmergames.bukkit.towny.event.deathprice.DeathPriceEvent
getAmount, getDeadResident, getHandlerList, getHandlers, getPayer, isCancelled, isPVPDeath, setAmount, setCancelled
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PlayerPaysDeathPriceEvent
-
-
Method Details
-
getKiller
public org.bukkit.entity.Player getKiller()- Overrides:
getKiller
in classDeathPriceEvent
- Returns:
- the killer
-