mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-07 04:53:00 +00:00
buy
This commit is contained in:
parent
7bd99afa25
commit
670c0979c9
3 changed files with 6 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue