WorldEdit: Setting cuboid selection

Discussion in 'Plugin Development' started by Baba43, Oct 15, 2013.

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

    Baba43

    Hi, I want to set the cuboid-selection of specific player to match a current region.

    Is that possible? I did not find any method that can set a session's selection.
     
  2. Offline

    Baba43

    anyone?
     
  3. Offline

    Minecrell

    Baba43
    You can set the region selector of a session to change the selection of the player:
    Code:java
    1. session.setRegionSelector(world, new CuboidRegionSelector(world, pos1, pos2));
     
    Baba43 likes this.
Thread Status:
Not open for further replies.

Share This Page