forgot some more bPerms2 typos :o

This commit is contained in:
Sleaker 2012-02-18 16:57:16 -08:00
parent 89b3e50beb
commit c30a2a573f

View File

@ -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;