From 7d1de54d6ed0a5f9d6570ddcebfd162603fb7f6e Mon Sep 17 00:00:00 2001 From: mung3r Date: Thu, 22 Sep 2011 20:01:32 -0700 Subject: [PATCH] fixed copy/paste error --- src/net/milkbowl/vault/economy/plugins/Economy_3co.java | 2 +- src/net/milkbowl/vault/economy/plugins/Economy_BOSE.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/milkbowl/vault/economy/plugins/Economy_3co.java b/src/net/milkbowl/vault/economy/plugins/Economy_3co.java index 8a2d00e..60c0734 100644 --- a/src/net/milkbowl/vault/economy/plugins/Economy_3co.java +++ b/src/net/milkbowl/vault/economy/plugins/Economy_3co.java @@ -168,7 +168,7 @@ public class Economy_3co implements Economy { public void onPluginDisable(PluginDisableEvent event) { if (economy.economy != null) { - if (event.getPlugin().getDescription().getName().equals("Essentials")) { + if (event.getPlugin().getDescription().getName().equals("3co")) { economy.economy = null; log.info(String.format("[%s][Economy] %s unhooked.", plugin.getDescription().getName(), economy.name)); } diff --git a/src/net/milkbowl/vault/economy/plugins/Economy_BOSE.java b/src/net/milkbowl/vault/economy/plugins/Economy_BOSE.java index 7beb5ad..ac9fe69 100644 --- a/src/net/milkbowl/vault/economy/plugins/Economy_BOSE.java +++ b/src/net/milkbowl/vault/economy/plugins/Economy_BOSE.java @@ -185,7 +185,7 @@ public class Economy_BOSE implements Economy { public void onPluginDisable(PluginDisableEvent event) { if (economy.economy != null) { - if (event.getPlugin().getDescription().getName().equals("Essentials")) { + if (event.getPlugin().getDescription().getName().equals("BOSEconomy")) { economy.economy = null; log.info(String.format("[%s][Economy] %s unhooked.", plugin.getDescription().getName(), economy.name)); }