Bugfix for jumpto

This commit is contained in:
Wizjany 2011-10-09 20:41:50 -04:00
parent 440f3baed1
commit b89ede09a6

View File

@ -1046,7 +1046,7 @@ public class WorldEdit {
// @TODO do this right or make craftbukkit do it right // @TODO do this right or make craftbukkit do it right
if (!session.canUseJumpto()){ if (!session.canUseJumpto()){
session.toggleJumptoBlock(); session.toggleJumptoBlock();
return false; return true;
} }
WorldVector pos = player.getSolidBlockTrace(config.navigationWandMaxDistance); WorldVector pos = player.getSolidBlockTrace(config.navigationWandMaxDistance);
if (pos != null) { if (pos != null) {