mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-28 21:56:33 +01:00
commit
049e4f1c6c
@ -738,6 +738,27 @@ public class LocalSession {
|
|||||||
return world;
|
return world;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the world selection.
|
||||||
|
*
|
||||||
|
* @return the current selection
|
||||||
|
*/
|
||||||
|
public Region getWorldSelection() throws IncompleteRegionException {
|
||||||
|
return getSelection(getSelectionWorld());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is an alias for {@link #getSelection(World)}.
|
||||||
|
* It enables CraftScripts to get a world selection as it is
|
||||||
|
* not possible to use getSelection which have two default
|
||||||
|
* implementations.
|
||||||
|
*
|
||||||
|
* @return Get the selection region in the world.
|
||||||
|
*/
|
||||||
|
public Region getWorldSelection(World world) throws IncompleteRegionException {
|
||||||
|
return getSelection(world);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the clipboard.
|
* Gets the clipboard.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user