mirror of
https://github.com/plexusorg/Plex.git
synced 2025-02-11 19:50:42 +00:00
Remove debug
This commit is contained in:
parent
4d0cf96b97
commit
82343815dd
1 changed files with 0 additions and 2 deletions
|
@ -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 a new issue