Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class VaultManager {
- private Economy econ;
- public VaultManager(){
- this.econ = Bukkit.getServicesManager().getRegistration(Economy.class).getProvider();
- }
- public void withdraw(Player p, int summ){
- econ.withdrawPlayer(p, summ);
- return;
- }
- public static void deposite(Player p, int summ){
- econ.depositPlayer(p, summ);
- return;
- }
- public static double getmoney(Player p){
- return econ.getBalance(p);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement