Examples of NewSoneFoundEvent


Examples of net.pterodactylus.sone.core.event.NewSoneFoundEvent

        synchronized (knownSones) {
          newSone = !knownSones.contains(sone.getId());
        }
        sone.setKnown(!newSone);
        if (newSone) {
          eventBus.post(new NewSoneFoundEvent(sone));
          for (Sone localSone : getLocalSones()) {
            if (localSone.getOptions().getBooleanOption("AutoFollow").get()) {
              followSone(localSone, sone.getId());
            }
          }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.