This commit is contained in:
boy0001 2015-02-21 23:09:20 +11:00
parent 1eb0ba47b4
commit 406ae58391
8 changed files with 20 additions and 9 deletions

View file

@ -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);
}
}