Package com.bergerkiller.bukkit.common.wrappers

Examples of com.bergerkiller.bukkit.common.wrappers.EntityTracker.stopTracking()


      }
    }

    // Take care of null controllers - stop tracking
    if (controller == null) {
      tracker.stopTracking(entity);
      return;
    }

    final Object newEntry;
    if (controller instanceof DefaultEntityNetworkController) {
View Full Code Here


    // Perform actual teleportation
    final boolean succ;
    if (!isWorldChange || entity instanceof Player) {
      // First: stop tracking the entity
      final EntityTracker tracker = WorldUtil.getTracker(getWorld());
      tracker.stopTracking(entity);

      // Destroy packets are queued: Make sure to send them RIGHT NOW
      for (Player bukkitPlayer : WorldUtil.getPlayers(getWorld())) {
        CommonPlayer player = get(bukkitPlayer);
        if (player != null) {
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.