Ramp up warning in preparation for breaking commit

This commit is contained in:
md_5 2013-06-06 20:23:50 +10:00
parent 483fede234
commit 05a9342854

View File

@ -316,9 +316,9 @@ public class PluginManager
{
if ( method.isAnnotationPresent( Subscribe.class ) )
{
proxy.getLogger().log( Level.WARNING, "Listener {0} has registered using depreceated subscribe annotation!"
proxy.getLogger().log( Level.WARNING, "Listener " + listener + " has registered using depreceated subscribe annotation!"
+ " Please advice author to update to @EventHandler."
+ " As a server owner you may safely ignore this.", listener );
+ " As a server owner you may safely ignore this.", new Exception() );
}
}