Update warning
This commit is contained in:
parent
29f22f9be9
commit
6decf860c9
@ -323,7 +323,9 @@ public class PluginManager
|
||||
{
|
||||
if ( method.isAnnotationPresent( Subscribe.class ) )
|
||||
{
|
||||
proxy.getLogger().log( Level.SEVERE, "Listener {0} has registered using depreceated subscribe annotation! Please advice author to update to @EventHadler", listener );
|
||||
proxy.getLogger().log( Level.WARNING, "Listener {0} has registered using depreceated subscribe annotation!"
|
||||
+ " Please advice author to update to @EventHandler."
|
||||
+ " As a server owner you may safely ignore this.", listener );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user