public class EconomyChangeEvent
extends org.bukkit.event.player.PlayerEvent
Modifier and Type | Field and Description |
---|---|
protected static org.bukkit.event.HandlerList |
handlers
HandlerList for this event |
Constructor and Description |
---|
EconomyChangeEvent(org.bukkit.entity.Player p,
double money)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static org.bukkit.event.HandlerList |
getHandlerList()
Returns the
HandlerList that Bukkit uses to register plugins
for events |
org.bukkit.event.HandlerList |
getHandlers() |
double |
getNewBalance()
Returns the new balance for the
Player |
protected static final org.bukkit.event.HandlerList handlers
HandlerList
for this eventpublic EconomyChangeEvent(org.bukkit.entity.Player p, double money)
Player
and money to fieldsp
- The Player
whose balance changedmoney
- The new balancepublic double getNewBalance()
Player
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event
public static org.bukkit.event.HandlerList getHandlerList()
HandlerList
that Bukkit uses to register plugins
for eventsHandlerList
for this eventCopyright © 2015. All rights reserved.