public Bot getBot(final Object o) { final ClassLoader cl = o.getClass().getClassLoader(); for (final Bot bot : bots) { if (cl == bot.getLoader().getClient().getClass().getClassLoader()) { panel.offset(); return bot; } } return null; }
public Bot getBot(final Object o) { final ClassLoader cl = o.getClass().getClassLoader(); for (final Bot bot : bots) { if (cl == bot.getLoader().getClient().getClass().getClassLoader()) { panel.offset(); return bot; } } return null; }