Skip to content

Commit

Permalink
test: fix BushAuthoritySystemTest tests (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdrueckert authored Apr 2, 2021
1 parent 4d93226 commit 0f95cb7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public void harvestingUnsustainableBushShouldDestroyBushAndDropBothSeedsAndProdu

// bush removed and replaced with air
assertFalse(entity.exists());
assertEquals(air, worldProvider.getBlock(new Vector3f()));
assertEquals(air, worldProvider.getBlock(new Vector3i(Direction.UP.asVector3i())));
}

@Test
Expand All @@ -144,7 +144,7 @@ public void destroyingMatureBushShouldDropSeeds() {

// bush removed and replaced with air
assertFalse(entity.exists());
assertEquals(air, worldProvider.getBlock(new Vector3f()));
assertEquals(air, worldProvider.getBlock(new Vector3i(Direction.UP.asVector3i())));
}


Expand Down

0 comments on commit 0f95cb7

Please sign in to comment.