fix a weird bug
This commit is contained in:
		@@ -114,7 +114,8 @@ public class PathExecutor implements Helper {
 | 
				
			|||||||
                        return false;
 | 
					                        return false;
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                for (int i = pathPosition + 2; i < path.length(); i++) { //dont check pathPosition+1. the movement tells us when it's done (e.g. sneak placing)
 | 
					                for (int i = pathPosition + 3; i < path.length(); i++) { //dont check pathPosition+1. the movement tells us when it's done (e.g. sneak placing)
 | 
				
			||||||
 | 
					                    // also don't check pathPosition+2 because reasons
 | 
				
			||||||
                    if (whereAmI.equals(path.positions().get(i))) {
 | 
					                    if (whereAmI.equals(path.positions().get(i))) {
 | 
				
			||||||
                        if (i - pathPosition > 2) {
 | 
					                        if (i - pathPosition > 2) {
 | 
				
			||||||
                            logDebug("Skipping forward " + (i - pathPosition) + " steps, to " + i);
 | 
					                            logDebug("Skipping forward " + (i - pathPosition) + " steps, to " + i);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user