Changed the compass so that left click is /jumpto and right click is /thru.

This commit is contained in:
sk89q
2011-03-11 23:38:11 -08:00
parent 5ac8c5adf7
commit 5e536ad302
2 changed files with 13 additions and 63 deletions

View File

@@ -44,14 +44,6 @@ import com.sk89q.worldedit.regions.RegionSelector;
* @author sk89q
*/
public class LocalSession {
/**
* List of compass modes.
*/
public enum CompassMode {
JUMPTO,
THRU
}
public static int MAX_HISTORY_SIZE = 15;
private LocalConfiguration config;
@@ -71,7 +63,6 @@ public class LocalSession {
private boolean useInventory;
private Snapshot snapshot;
private String lastScript;
private CompassMode compassMode = CompassMode.JUMPTO;
private boolean beenToldVersion = false;
private boolean hasCUISupport = false;
@@ -491,24 +482,6 @@ public class LocalSession {
public void setLastScript(String lastScript) {
this.lastScript = lastScript;
}
/**
* Get the compass mode.
*
* @return the compassMode
*/
public CompassMode getCompassMode() {
return compassMode;
}
/**
* Set the compass mode.
*
* @param compassMode the compassMode to set
*/
public void setCompassMode(CompassMode compassMode) {
this.compassMode = compassMode;
}
/**
* Tell the player the WorldEdit version.