Fixes a bug in refunding
This commit is contained in:
@ -58,4 +58,14 @@ public final class EconomyManager {
|
||||
economy.withdrawPlayer(player, cost);
|
||||
}
|
||||
|
||||
/**
|
||||
* Deposits a given sum into the given player's account
|
||||
*
|
||||
* @param player <p>The player to deposit money to</p>
|
||||
* @param sum <p>The amount of money to deposit</p>
|
||||
*/
|
||||
public static void deposit(OfflinePlayer player, double sum) {
|
||||
economy.depositPlayer(player, sum);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user