From c30a2a573f93036826c114a1205be027ca6bbefd Mon Sep 17 00:00:00 2001 From: Sleaker Date: Sat, 18 Feb 2012 16:57:16 -0800 Subject: [PATCH] forgot some more bPerms2 typos :o --- .../milkbowl/vault/chat/plugins/Chat_bPermissions2.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/net/milkbowl/vault/chat/plugins/Chat_bPermissions2.java b/src/net/milkbowl/vault/chat/plugins/Chat_bPermissions2.java index 8d0737e..2acc343 100644 --- a/src/net/milkbowl/vault/chat/plugins/Chat_bPermissions2.java +++ b/src/net/milkbowl/vault/chat/plugins/Chat_bPermissions2.java @@ -22,11 +22,11 @@ public class Chat_bPermissions2 extends Chat { private final String name = "bInfo"; private Vault plugin = null; private boolean hooked = false; - + public Chat_bPermissions2(Vault plugin, Permission perms) { super(perms); this.plugin = plugin; - + Bukkit.getServer().getPluginManager().registerEvents(new PermissionServerListener(this), plugin); // Load Plugin in case it was loaded before @@ -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;