Solved World Edit API getting selection?

Discussion in 'Plugin Development' started by Buoobuoo, Nov 18, 2018.

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

    Buoobuoo

    Hey guys, been trying to make a plugin which requires World Edit, so i have been reading everywhere everyone says to do
    Code:
     worldEdit.getSelection(player) 
    but, i can't do that. I can
    Code:
    getworldEdit.getSession(player).getSelection(worldEdit.getSession(player).getSelectionWorld())
    but that returns a region. has world Edit changed their way of getting cuboid selections?
     
  2. Offline

    timtower Administrator Administrator Moderator

  3. Offline

    Buoobuoo

    Found a method around it. Thanks.
     
  4. Offline

    timtower Administrator Administrator Moderator

    Could you share that method?
     
  5. Offline

    Buoobuoo

    Was just my ignorance, I failed to realise Region is cuboidSelection they are just introducing Vectors into it now.
     
    timtower likes this.
Thread Status:
Not open for further replies.

Share This Page