Skip to content

Commit

Permalink
Fixed test failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Apr 16, 2022
1 parent aff6fce commit 10d8352
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ else if (removeAmount >= statistic)
private ChallengeResult checkIfCanCompleteChallenge(int maxTimes)
{
ChallengeResult result;

ChallengeType type = this.challenge.getChallengeType();
// Check the world
if (!this.challenge.isDeployed())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ public void setUp() throws Exception {
Optional<GameModeAddon> optionalGameMode = Optional.of(gameMode);
when(iwm.getAddon(any())).thenReturn(optionalGameMode);
when(iwm.getIslandDistance(any())).thenReturn(400);
when(iwm.inWorld(any(World.class))).thenReturn(true);

// Island Manager
when(addon.getIslands()).thenReturn(im);
Expand Down

0 comments on commit 10d8352

Please sign in to comment.