Add a com.sk89q.worldedit.bukkit.WorldEditPlugin.getSelection(Player player) method to return the user's current selection utilizing native Bukkit types.
This commit is contained in:
@@ -231,6 +231,15 @@ public class LocalSession {
|
||||
}
|
||||
return selector.getRegion();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the selection world.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public LocalWorld getSelectionWorld() {
|
||||
return selectionWorld;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the clipboard.
|
||||
|
||||
Reference in New Issue
Block a user