Skip to content

Commit

Permalink
Push latest updates
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed Oct 16, 2023
1 parent 6f67785 commit 439becf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public GraphInstructions[] getActions(BotEntityState node) {
}

var basePosition = node.positionBlock();
var positionBlock = node.positionBlock().add(key);
var positionBlock = basePosition.add(key);
if (blockState == null) {
blockState = node.levelState()
.getBlockStateAt(positionBlock)
Expand Down Expand Up @@ -162,6 +162,7 @@ public GraphInstructions[] getActions(BotEntityState node) {
continue;
}

// This block should not be placed against
if (!blockState.blockShapeType().isFullBlock()) {
continue;
}
Expand Down

0 comments on commit 439becf

Please sign in to comment.