New command architecture with "full line" as parameter

Discussion in 'Bukkit Help' started by xZise, Jan 22, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    xZise

    Hello,
    I wanted to merge tkelly's changes into my fork, but he now uses the new command architecture with MyWarp Version 1.7. For his implementation it is only a minor problem, but I need the full line.

    For example somebody could execute:
    Now between foo and bar are two spaces. But when somebody uses:
    With the new architecture it will ignore one space.

    My quickfix would be, to add the line as parameter (it is okay, if the "/warp" is cut away). Another solution would be, to use different methods, to avoid splitting which isn't needed.

    xZise

    PS: I placed ␣ where the spaces are.
     
  2. Offline

    xZise

    Hello,
    would be nice if this will be done.

    Fabian
     
  3. Offline

    xZise

    Okay nobody had a thought about this, so I implemented it and sent a pull request.

    Fabian
     
Thread Status:
Not open for further replies.

Share This Page