Package com.l2jfrozen.gameserver.network.serverpackets

Examples of com.l2jfrozen.gameserver.network.serverpackets.ExFishingStart


    // Use a copy constructor else the fish data may be over-written below
    _fish = new FishData(fishs.get(check));
    fishs.clear();
    fishs = null;
    sendPacket(new SystemMessage(SystemMessageId.CAST_LINE_AND_START_FISHING));
    ExFishingStart efs = null;

    if(!GameTimeController.getInstance().isNowNight() && _lure.isNightLure())
    {
      _fish.setType(-1);
    }

    //sendMessage("Hook x,y: " + _x + "," + _y + " - Water Z, Player Z:" + _z + ", " + getZ()); //debug line, uncoment to show coordinates used in fishing.
    efs = new ExFishingStart(this, _fish.getType(), _x, _y, _z, _lure.isNightLure());
    broadcastPacket(efs);
    efs = null;
    StartLookingForFishTask();
  }
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.network.serverpackets.ExFishingStart

Copyright © 2018 www.massapicom. 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.