Skip to content
This repository has been archived by the owner on Aug 10, 2018. It is now read-only.

Commit

Permalink
Keep .goto enabled when player moves off the path
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Nov 23, 2016
1 parent df73cff commit 768ce62
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/tk/wurst_client/commands/GoToCmd.java
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,7 @@ public void onUpdate()
&& pos.getY() != nextPos.getY())
|| (pos.getZ() != prevPos.getZ()
&& pos.getZ() != nextPos.getZ()))
{
wurst.chat.error("Player moved off the path.");
disable();
return;
}
System.err.println("Player moved off the path.");
}

// move
Expand Down

0 comments on commit 768ce62

Please sign in to comment.