put deprecation warnings on iCo4/BOSE6 as no one should be using them.

This commit is contained in:
Sleaker 2012-01-31 09:47:34 -08:00
parent 84e6419498
commit c61a2c2dba
3 changed files with 4 additions and 2 deletions

Binary file not shown.

View File

@ -20,6 +20,7 @@
package net.milkbowl.vault.economy.plugins;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import net.milkbowl.vault.economy.Economy;
@ -47,7 +48,7 @@ public class Economy_BOSE6 implements Economy {
public Economy_BOSE6(Plugin plugin) {
this.plugin = plugin;
Bukkit.getServer().getPluginManager().registerEvents(new EconomyServerListener(this), plugin);
log.log(Level.SEVERE, "BOSEconomy6 is an extremely outdated plugin and can not be used reliably for economy! You should update the more recent and maintained BOSEconomy7 for compatibility!");
// Load Plugin in case it was loaded before
if (economy == null) {
Plugin bose = plugin.getServer().getPluginManager().getPlugin("BOSEconomy");

View File

@ -21,6 +21,7 @@ package net.milkbowl.vault.economy.plugins;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import net.milkbowl.vault.economy.Economy;
@ -48,7 +49,7 @@ public class Economy_iConomy4 implements Economy {
public Economy_iConomy4(Plugin plugin) {
this.plugin = plugin;
Bukkit.getServer().getPluginManager().registerEvents(new EconomyServerListener(this), plugin);
log.log(Level.SEVERE, "iConomy4 is an extremely outdated plugin and can not be used reliably for economy! You should update to a modern economy plugin!");
// Load Plugin in case it was loaded before
if (economy == null) {
Plugin ec = plugin.getServer().getPluginManager().getPlugin("iConomy");