Removed warning emitted when a hook does not exist.

This commit is contained in:
sk89q 2010-11-24 12:43:18 -08:00
parent b4d8b2095d
commit 2999f9d168

View File

@ -120,7 +120,7 @@ public boolean registerHook(String name, PluginListener.Priority priority) {
etc.getLoader().addListener(hook, listener, this, priority);
return true;
} catch (IllegalArgumentException e) {
logger.log(Level.WARNING, "WorldGuard: Missing hook " + name + "!");
//logger.log(Level.WARNING, "WorldGuard: Missing hook " + name + "!");
return false;
}
}