mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-12-27 19:37:49 +01:00
fixed copy/paste error
This commit is contained in:
parent
affbda067c
commit
7d1de54d6e
@ -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));
|
||||
}
|
||||
|
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user