Ramp up warning in preparation for breaking commit
This commit is contained in:
parent
483fede234
commit
05a9342854
@ -316,9 +316,9 @@ public class PluginManager
|
|||||||
{
|
{
|
||||||
if ( method.isAnnotationPresent( Subscribe.class ) )
|
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."
|
+ " 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() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user