mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-27 13:07:23 +01:00
forgot some more bPerms2 typos :o
This commit is contained in:
parent
89b3e50beb
commit
c30a2a573f
@ -52,7 +52,7 @@ public class Chat_bPermissions2 extends Chat {
|
||||
Plugin chat = plugin.getServer().getPluginManager().getPlugin("bPermissions");
|
||||
if (chat != null) {
|
||||
hooked = true;
|
||||
log.info(String.format("[%s][Chat] %s hooked.", plugin.getDescription().getName(), "bPermissions"));
|
||||
log.info(String.format("[%s][Chat] %s hooked.", plugin.getDescription().getName(), "bPermissions2"));
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -62,11 +62,12 @@ public class Chat_bPermissions2 extends Chat {
|
||||
if (hooked) {
|
||||
if (event.getPlugin().getDescription().getName().equals("bPermissions")) {
|
||||
hooked = false;
|
||||
log.info(String.format("[%s][Chat] %s un-hooked.", plugin.getDescription().getName(), "bPermissions"));
|
||||
log.info(String.format("[%s][Chat] %s un-hooked.", plugin.getDescription().getName(), "bPermissions2"));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return name;
|
||||
|
Loading…
Reference in New Issue
Block a user