fix logic in minebehavior
This commit is contained in:
parent
e3434115ac
commit
4513a537db
@ -119,11 +119,11 @@ public final class MineBehavior extends Behavior implements Helper {
|
|||||||
if (noDown) {
|
if (noDown) {
|
||||||
return new GoalTwoBlocks(loc);
|
return new GoalTwoBlocks(loc);
|
||||||
} else {
|
} else {
|
||||||
return new GoalBlock(loc.down());
|
return new GoalBlock(loc);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (noDown) {
|
if (noDown) {
|
||||||
return new GoalBlock(loc);
|
return new GoalBlock(loc.down());
|
||||||
} else {
|
} else {
|
||||||
return new GoalTwoBlocks(loc);
|
return new GoalTwoBlocks(loc);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user