Exemplo n.º 1
0
  public void onActionShift(L2PcInstance player) {
    IActionHandler handler = ActionShiftHandler.getInstance().getHandler(getInstanceType());
    if (handler != null) handler.action(player, this, true);

    player.sendPacket(ActionFailed.STATIC_PACKET);
  }
Exemplo n.º 2
0
  public void onAction(L2PcInstance player, boolean interact) {
    IActionHandler handler = ActionHandler.getInstance().getHandler(getInstanceType());
    if (handler != null) handler.action(player, this, interact);

    player.sendPacket(ActionFailed.STATIC_PACKET);
  }