Removed fix for issue #376, since the problem appears to have been fixed on the CraftBukkit side now.
Also cleaned up the input handlers a bit.
This commit is contained in:
@@ -75,7 +75,7 @@ public class LocalSession {
|
||||
private boolean fastMode = false;
|
||||
private Mask mask;
|
||||
private TimeZone timezone = TimeZone.getDefault();
|
||||
private Boolean jumptoBlock = true;
|
||||
//private Boolean jumptoBlock = true;
|
||||
|
||||
/**
|
||||
* Construct the object.
|
||||
@@ -684,20 +684,4 @@ public class LocalSession {
|
||||
public void setMask(Mask mask) {
|
||||
this.mask = mask;
|
||||
}
|
||||
|
||||
/**
|
||||
* This is used as a workaround for a bug.
|
||||
* It blocks the compass from using the jumpto function after the thru function
|
||||
*/
|
||||
public void toggleJumptoBlock() {
|
||||
this.jumptoBlock = !jumptoBlock;
|
||||
}
|
||||
|
||||
/**
|
||||
* This is used as a workaround for a bug.
|
||||
* @return true if the compass's jumpto function can be used again
|
||||
*/
|
||||
public Boolean canUseJumpto() {
|
||||
return jumptoBlock;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user