mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2025-01-25 08:11:20 +01:00
Fix static access
This commit is contained in:
parent
be96a17968
commit
fa7a196bab
@ -1,10 +1,12 @@
|
|||||||
package com.Acrobot.ChestShop.Listeners.Economy.Plugins;
|
package com.Acrobot.ChestShop.Listeners.Economy.Plugins;
|
||||||
|
|
||||||
import com.Acrobot.ChestShop.ChestShop;
|
import java.math.BigDecimal;
|
||||||
import com.Acrobot.ChestShop.Events.Economy.*;
|
|
||||||
import com.Acrobot.ChestShop.UUIDs.NameManager;
|
import javax.annotation.Nullable;
|
||||||
|
|
||||||
import net.milkbowl.vault.economy.Economy;
|
import net.milkbowl.vault.economy.Economy;
|
||||||
import net.milkbowl.vault.economy.EconomyResponse;
|
import net.milkbowl.vault.economy.EconomyResponse;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.OfflinePlayer;
|
import org.bukkit.OfflinePlayer;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
@ -12,8 +14,15 @@ import org.bukkit.event.EventHandler;
|
|||||||
import org.bukkit.event.Listener;
|
import org.bukkit.event.Listener;
|
||||||
import org.bukkit.plugin.RegisteredServiceProvider;
|
import org.bukkit.plugin.RegisteredServiceProvider;
|
||||||
|
|
||||||
import javax.annotation.Nullable;
|
import com.Acrobot.ChestShop.ChestShop;
|
||||||
import java.math.BigDecimal;
|
import com.Acrobot.ChestShop.Events.Economy.AccountCheckEvent;
|
||||||
|
import com.Acrobot.ChestShop.Events.Economy.CurrencyAddEvent;
|
||||||
|
import com.Acrobot.ChestShop.Events.Economy.CurrencyAmountEvent;
|
||||||
|
import com.Acrobot.ChestShop.Events.Economy.CurrencyCheckEvent;
|
||||||
|
import com.Acrobot.ChestShop.Events.Economy.CurrencyFormatEvent;
|
||||||
|
import com.Acrobot.ChestShop.Events.Economy.CurrencyHoldEvent;
|
||||||
|
import com.Acrobot.ChestShop.Events.Economy.CurrencySubtractEvent;
|
||||||
|
import com.Acrobot.ChestShop.Events.Economy.CurrencyTransferEvent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a Vault connector
|
* Represents a Vault connector
|
||||||
@ -23,7 +32,7 @@ import java.math.BigDecimal;
|
|||||||
public class VaultListener implements Listener {
|
public class VaultListener implements Listener {
|
||||||
private static Economy provider;
|
private static Economy provider;
|
||||||
|
|
||||||
private VaultListener(Economy provider) { this.provider = provider; }
|
private VaultListener(Economy provider) { VaultListener.provider = provider; }
|
||||||
|
|
||||||
public static Economy getProvider() { return provider; }
|
public static Economy getProvider() { return provider; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user