Skip to content

Commit

Permalink
Add the same continue for PBT
Browse files Browse the repository at this point in the history
  • Loading branch information
Krakenied committed Jul 23, 2024
1 parent 8e24ba9 commit e28ac90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ private void handle(Player player, QPlayer qPlayer, Block block, Mode mode, bool
super.debug("PlayerBlockTracker lookup OK", quest.getId(), task.getId(), player.getUniqueId());
} else {
super.debug("check-playerblocktracker is enabled, but PlayerBlockTracker is not detected on the server", quest.getId(), task.getId(), player.getUniqueId());
continue; // we want to prevent progressing in quest if PBT failed to start and was expected to
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ public void onBlockBreak(BlockBreakEvent event) {
super.debug("PlayerBlockTracker lookup OK", quest.getId(), task.getId(), player.getUniqueId());
} else {
super.debug("check-playerblocktracker is enabled, but PlayerBlockTracker is not detected on the server", quest.getId(), task.getId(), player.getUniqueId());
continue; // we want to prevent progressing in quest if PBT failed to start and was expected to
}
}

Expand Down

0 comments on commit e28ac90

Please sign in to comment.