insanity check

This commit is contained in:
Leijurv 2018-08-05 18:38:01 -04:00
parent 4cbf20922c
commit 3dea7eb4f3
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -87,7 +87,7 @@ class Path implements IPath {
if (path.size() != movements.size() + 1) {
throw new IllegalStateException("Size of path array is unexpected");
}
for (int i = 0; i < path.size(); i++) {
for (int i = 0; i < path.size() - 1; i++) {
BlockPos src = path.get(i);
BlockPos dest = path.get(i + 1);
Movement movement = movements.get(i);