@ -2,7 +2,6 @@ package net.knarcraft.paidsigns.manager;
|
||||
|
||||
import net.milkbowl.vault.economy.Economy;
|
||||
import org.bukkit.OfflinePlayer;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
/**
|
||||
* A manager that performs all Economy tasks
|
||||
@ -55,7 +54,7 @@ public final class EconomyManager {
|
||||
* @param player <p>The player to withdraw money from</p>
|
||||
* @param cost <p>The amount of money to withdraw</p>
|
||||
*/
|
||||
public static void withdraw(Player player, double cost) {
|
||||
public static void withdraw(OfflinePlayer player, double cost) {
|
||||
economy.withdrawPlayer(player, cost);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user