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:
TomyLobo
2011-11-20 01:45:25 +01:00
parent 1194f4448e
commit 71d302c893
2 changed files with 28 additions and 43 deletions

View File

@@ -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;
}
}