This commit is contained in:
boy0001 2015-02-22 00:58:01 +11:00
parent 7bd99afa25
commit 670c0979c9
3 changed files with 6 additions and 4 deletions

View file

@ -1,6 +1,7 @@
package com.intellectualcrafters.plot.util;
import com.intellectualcrafters.plot.PlotSquared;
import com.intellectualcrafters.plot.object.OfflinePlotPlayer;
import com.intellectualcrafters.plot.object.PlotPlayer;
public class EconHandler {
@ -16,4 +17,8 @@ public class EconHandler {
public static void depositPlayer(PlotPlayer player, double amount) {
PlotSquared.economy.depositPlayer(player.getName(), amount);
}
public static void depositPlayer(OfflinePlotPlayer player, double amount) {
PlotSquared.economy.depositPlayer(player.getName(), amount);
}
}