mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-07 13:03:06 +00:00
PlotMe removed from pom/buy only registered if econ enabled
This commit is contained in:
parent
c21c100908
commit
315223f779
3 changed files with 2 additions and 8 deletions
|
@ -1498,6 +1498,7 @@ import com.sk89q.worldguard.bukkit.WorldGuardPlugin;
|
|||
final RegisteredServiceProvider<Economy> economyProvider = getServer().getServicesManager().getRegistration(net.milkbowl.vault.economy.Economy.class);
|
||||
if (economyProvider != null) {
|
||||
economy = economyProvider.getProvider();
|
||||
MainCommand.subCommands.add(new Buy());
|
||||
}
|
||||
}
|
||||
useEconomy = (economy != null);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue