Added /s to repeat last script.

This commit is contained in:
sk89q
2011-01-23 02:09:51 -08:00
parent af1acd42b8
commit 56d69f9e77
3 changed files with 40 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ public class LocalSession {
private int maxBlocksChanged = -1;
private boolean useInventory;
private Snapshot snapshot;
private String lastScript;
/**
* Clear history.
@@ -412,4 +413,18 @@ public class LocalSession {
public void setUseInventory(boolean useInventory) {
this.useInventory = useInventory;
}
/**
* @return the lastScript
*/
public String getLastScript() {
return lastScript;
}
/**
* @param lastScript the lastScript to set
*/
public void setLastScript(String lastScript) {
this.lastScript = lastScript;
}
}