mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-07 04:53:00 +00:00
cleanup
This commit is contained in:
parent
625d19b5d0
commit
f2c9e4933a
210 changed files with 2119 additions and 2141 deletions
|
@ -6,19 +6,19 @@ import com.intellectualcrafters.plot.object.PlotPlayer;
|
|||
|
||||
public class EconHandler {
|
||||
// TODO economy shit
|
||||
public static double getBalance(PlotPlayer player) {
|
||||
public static double getBalance(final PlotPlayer player) {
|
||||
return PlotSquared.economy.getBalance(player.getName());
|
||||
}
|
||||
|
||||
public static void withdrawPlayer(PlotPlayer player, double amount) {
|
||||
|
||||
public static void withdrawPlayer(final PlotPlayer player, final double amount) {
|
||||
PlotSquared.economy.withdrawPlayer(player.getName(), amount);
|
||||
}
|
||||
|
||||
public static void depositPlayer(PlotPlayer player, double amount) {
|
||||
|
||||
public static void depositPlayer(final PlotPlayer player, final double amount) {
|
||||
PlotSquared.economy.depositPlayer(player.getName(), amount);
|
||||
}
|
||||
|
||||
public static void depositPlayer(OfflinePlotPlayer player, double amount) {
|
||||
|
||||
public static void depositPlayer(final OfflinePlotPlayer player, final double amount) {
|
||||
PlotSquared.economy.depositPlayer(player.getName(), amount);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue