public class EconomyChangePacket extends Object
Constructor and Description |
---|
EconomyChangePacket(OfflinePlayer p,
double amount)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getAmount()
Returns the new balance
|
OfflinePlayer |
getPlayer()
The
OfflinePlayer whose balance changed |
public EconomyChangePacket(OfflinePlayer p, double amount)
p
- The OfflinePlayer
whose balance changedamount
- The new balancepublic OfflinePlayer getPlayer()
OfflinePlayer
whose balance changedOfflinePlayer
objectpublic double getAmount()
Copyright © 2017. All rights reserved.