mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-23 09:37:37 +00:00
Remove debug
This commit is contained in:
parent
4d0cf96b97
commit
82343815dd
@ -24,11 +24,9 @@ public class ListenerHandler extends PlexBase
|
|||||||
if (clazz.isAnnotationPresent(Toggleable.class))
|
if (clazz.isAnnotationPresent(Toggleable.class))
|
||||||
{
|
{
|
||||||
Toggleable annotation = clazz.getDeclaredAnnotation(Toggleable.class);
|
Toggleable annotation = clazz.getDeclaredAnnotation(Toggleable.class);
|
||||||
PlexLog.debug(clazz.getName() + " has annotations");
|
|
||||||
if (plugin.config.get(annotation.value()) != null && plugin.config.getBoolean(annotation.value()))
|
if (plugin.config.get(annotation.value()) != null && plugin.config.getBoolean(annotation.value()))
|
||||||
{
|
{
|
||||||
listeners.add(clazz.getConstructor().newInstance());
|
listeners.add(clazz.getConstructor().newInstance());
|
||||||
PlexLog.debug("Registering " + clazz.getName() + " as a listener");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user