2015-01-10 21:20:20 +11:00
|
|
|
package com.intellectualcrafters.plot.util;
|
|
|
|
|
2015-02-21 23:09:20 +11:00
|
|
|
import com.intellectualcrafters.plot.PlotSquared;
|
|
|
|
import com.intellectualcrafters.plot.object.PlotPlayer;
|
|
|
|
|
2015-01-10 21:20:20 +11:00
|
|
|
public class EconHandler {
|
2015-02-20 18:10:07 +11:00
|
|
|
// TODO economy shit
|
2015-02-21 23:09:20 +11:00
|
|
|
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);
|
|
|
|
}
|
2015-01-10 21:20:20 +11:00
|
|
|
}
|