Examples of ZoneManager


Examples of l2p.gameserver.instancemanager.ZoneManager

  {
    if(player == null)
    {
      return false;
    }
    ZoneManager zoneManager = ZoneManager.getInstance();
    for(ForbiddenZones forbiddenZone : ForbiddenZones.values())
    {
      if(forbiddenZone.checkZ ? zoneManager.checkIfInZone(forbiddenZone.type, x, y, z) : zoneManager.checkIfInZone(forbiddenZone.type, x, y))
      {
        player.sendPacket(Msg.YOU_CANNOT_USE_MY_TELEPORTS_TO_REACH_THIS_AREA);
        return false;
      }
    }
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.