mirror of https://github.com/cabaletta/baritone
remove goal equality condition for path splicing
This commit is contained in:
parent
d058cbf501
commit
eedf993d7a
|
@ -71,9 +71,6 @@ public class SplicedPath extends PathBase {
|
|||
if (second == null || first == null) {
|
||||
return Optional.empty();
|
||||
}
|
||||
if (!first.getGoal().toString().equals(second.getGoal().toString())) {
|
||||
return Optional.empty();
|
||||
}
|
||||
if (!first.getDest().equals(second.getSrc())) {
|
||||
return Optional.empty();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue