Package net.sf.l2j.gameserver.model.actor.instance

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.checkWaterState()


      // no broadcast needed since the player will already spawn dead to others
      sendPacket(new Die(activeChar));
    }

    if (Config.ALLOW_WATER)
        activeChar.checkWaterState();

        if (Hero.getInstance().getHeroes() != null &&
                Hero.getInstance().getHeroes().containsKey(activeChar.getObjectId()))
            activeChar.setHero(true);
View Full Code Here


        }
    if(activeChar.getParty() != null)
      activeChar.getParty().broadcastToPartyMembers(activeChar,new PartyMemberPosition(activeChar));

    if (Config.ALLOW_WATER)
      activeChar.checkWaterState();

    if (Config.ACCEPT_GEOEDITOR_CONN)
            if (GeoEditorListener.getInstance().getThread() != null  && GeoEditorListener.getInstance().getThread().isWorking()  && GeoEditorListener.getInstance().getThread().isSend(activeChar))
              GeoEditorListener.getInstance().getThread().sendGmPosition(_x,_y,(short)_z);
    }
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.