Fix null pointer in depend resolution. This closes issue #515.

This commit is contained in:
Joey Sacchini 2014-01-06 21:43:40 -05:00 committed by md_5
parent 2100da2a9f
commit cb4f70ecc7

View File

@ -249,7 +249,7 @@ public class PluginManager
{
ProxyServer.getInstance().getLogger().log( Level.WARNING, "{0} (required by {1}) is unavailable", new Object[]
{
String.valueOf( depend.getName() ), plugin.getName()
String.valueOf( dependName ), plugin.getName()
} );
status = false;
}