mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-07 04:53:00 +00:00
econ
This commit is contained in:
parent
1eb0ba47b4
commit
406ae58391
8 changed files with 20 additions and 9 deletions
|
@ -1,5 +1,15 @@
|
|||
package com.intellectualcrafters.plot.util;
|
||||
|
||||
import com.intellectualcrafters.plot.PlotSquared;
|
||||
import com.intellectualcrafters.plot.object.PlotPlayer;
|
||||
|
||||
public class EconHandler {
|
||||
// TODO economy shit
|
||||
public static double getBalance(PlotPlayer player) {
|
||||
return PlotSquared.economy.getBalance(player.getName());
|
||||
}
|
||||
|
||||
public static void withdrawPlayer(PlotPlayer player, double amount) {
|
||||
EconHandler.withdrawPlayer(player.getName(), amount);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue