Added /clearhistory and /clearclipboard.

This commit is contained in:
sk89q
2010-10-02 16:13:52 -07:00
parent 4c7e14a76b
commit c70a7914da
2 changed files with 21 additions and 0 deletions

View File

@ -34,6 +34,14 @@ public class WorldEditSession {
private int historyPointer = 0;
private RegionClipboard clipboard;
/**
* Clear history.
*/
public void clearHistory() {
history.clear();
historyPointer = 0;
}
/**
* Get the edit session.
*