mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
Bugfix for jumpto
This commit is contained in:
parent
440f3baed1
commit
b89ede09a6
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user