fix logic in minebehavior

This commit is contained in:
Leijurv 2018-09-20 14:08:56 -07:00
parent e3434115ac
commit 4513a537db
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -119,11 +119,11 @@ public final class MineBehavior extends Behavior implements Helper {
if (noDown) {
return new GoalTwoBlocks(loc);
} else {
return new GoalBlock(loc.down());
return new GoalBlock(loc);
}
} else {
if (noDown) {
return new GoalBlock(loc);
return new GoalBlock(loc.down());
} else {
return new GoalTwoBlocks(loc);
}