From a17ff21c601258b39caa2a01a8d668e0687e6de1 Mon Sep 17 00:00:00 2001 From: mung3r Date: Tue, 7 Aug 2012 21:33:25 -0700 Subject: [PATCH] fixed a few minor copy/paste errors --- src/net/milkbowl/vault/economy/plugins/Economy_AEco.java | 2 +- .../vault/permission/plugins/Permission_Starburst.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/net/milkbowl/vault/economy/plugins/Economy_AEco.java b/src/net/milkbowl/vault/economy/plugins/Economy_AEco.java index def8bdf..c0c8577 100644 --- a/src/net/milkbowl/vault/economy/plugins/Economy_AEco.java +++ b/src/net/milkbowl/vault/economy/plugins/Economy_AEco.java @@ -142,7 +142,7 @@ public class Economy_AEco implements Economy { @EventHandler(priority = EventPriority.MONITOR) public void onPluginDisable(PluginDisableEvent event) { if (economy.economy != null) { - if (event.getPlugin().getDescription().getName().equals("3co")) { + if (event.getPlugin().getDescription().getName().equals("AEco")) { economy.economy = null; log.info(String.format("[%s][Economy] %s unhooked.", plugin.getDescription().getName(), economy.name)); } diff --git a/src/net/milkbowl/vault/permission/plugins/Permission_Starburst.java b/src/net/milkbowl/vault/permission/plugins/Permission_Starburst.java index b4389b9..9958474 100644 --- a/src/net/milkbowl/vault/permission/plugins/Permission_Starburst.java +++ b/src/net/milkbowl/vault/permission/plugins/Permission_Starburst.java @@ -61,7 +61,7 @@ public class Permission_Starburst extends Permission { public void onPluginEnable(PluginEnableEvent event) { if (perms == null) { Plugin p = event.getPlugin(); - if (p.getDescription().getName().equals("bPermissions") && p.isEnabled()) { + if (p.getDescription().getName().equals("Starburst") && p.isEnabled()) { perms = (StarburstPlugin) p; log.info(String.format("[%s][Permission] %s hooked.", plugin.getDescription().getName(), name)); } @@ -71,7 +71,7 @@ public class Permission_Starburst extends Permission { @EventHandler(priority = EventPriority.MONITOR) public void onPluginDisable(PluginDisableEvent event) { if (perms != null) { - if (event.getPlugin().getDescription().getName().equals("bPermissions")) { + if (event.getPlugin().getDescription().getName().equals("Starburst")) { perms = null; log.info(String.format("[%s][Permission] %s un-hooked.", plugin.getDescription().getName(), name)); }