Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed Nov 28, 2024
1 parent fc5cc6a commit 207a633
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/src/test/java/com/soulfiremc/test/PathfindingTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ public void testPathfindingDiagonalImpossible() {
accessor.setBlockAt(2, 0, 2, BlockType.STONE);

// Barricade
accessor.setBlockAt(1, 1, 2, BlockType.STONE);
accessor.setBlockAt(1, 2, 2, BlockType.STONE);
accessor.setBlockAt(2, 1, 1, BlockType.STONE);
accessor.setBlockAt(2, 2, 1, BlockType.STONE);
accessor.setBlockAt(1, 1, 2, BlockType.BEDROCK);
accessor.setBlockAt(1, 2, 2, BlockType.BEDROCK);
accessor.setBlockAt(2, 1, 1, BlockType.BEDROCK);
accessor.setBlockAt(2, 2, 1, BlockType.BEDROCK);

var inventory = ProjectedInventory.forUnitTest(List.of(), TestPathConstraint.INSTANCE);
var routeFinder = new RouteFinder(new MinecraftGraph(TAGS_STATE,
Expand Down

0 comments on commit 207a633

Please sign in to comment.