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:
sk89q
2011-03-12 00:28:19 -08:00
parent 5e536ad302
commit 3b29403a9b
6 changed files with 270 additions and 14 deletions

View File

@@ -231,6 +231,15 @@ public class LocalSession {
}
return selector.getRegion();
}
/**
* Get the selection world.
*
* @return
*/
public LocalWorld getSelectionWorld() {
return selectionWorld;
}
/**
* Gets the clipboard.